number
int64
6.57k
7.64k
html_url
stringlengths
43
43
title
stringlengths
1
228
body_clean
stringlengths
0
55k
body_prose
stringlengths
0
28k
text
stringlengths
4
28k
comments
listlengths
0
23
state
stringclasses
2 values
state_reason
stringclasses
3 values
is_closed
bool
2 classes
created_at
timestamp[s]date
2023-11-05 07:13:53
2026-10-29 02:43:03
closed_at
timestamp[s]date
2023-11-05 11:30:32
2026-10-08 10:00:27
⌀
updated_at
timestamp[s]date
2023-11-11 12:31:37
2026-10-29 02:43:03
days_to_close
float64
0
868
⌀
created_year_month
stringdate
2023-11-01 00:00:00
2026-10-01 00:00:00
labels
listlengths
0
3
issue_type
stringclasses
6 values
comments_reported
int64
0
23
n_comments_collected
int64
0
23
comments_complete
bool
2 classes
maintainer_replied
bool
2 classes
hours_to_first_response
float64
0
15.1k
⌀
reactions_total
int64
0
45
author_id
stringlengths
9
9
author_association
stringclasses
3 values
comment_author_ids
listlengths
0
23
comment_author_roles
listlengths
0
23
comment_by_issue_author
listlengths
0
23
has_code_block
bool
2 classes
has_traceback
bool
2 classes
title_words
int64
1
41
body_words
int64
0
855
locked
bool
2 classes
6,566
https://github.com/psf/requests/issues/6566
Import error with werkzeug
When I run `make ci` on the main branch, it throws this import error with werkzeug ``` ImportError: cannot import name 'parse_authorization_header' from 'werkzeug.http' (/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/werkzeug/http.py) make: *** [Makefile:8: ci] Error 1 ``` ## Expected Result To r...
When I run `make ci` on the main branch, it throws this import error with werkzeug [CODE] ## Expected Result To run make ci successfully on the main branch. ## Actual Result Import error with latest version of werkzeug. I tried downgrading to a 2.3.X version of werkzeug and it ran without any issue. ## Reprod...
Import error with werkzeug. When I run `make ci` on the main branch, it throws this import error with werkzeug [CODE] ## Expected Result To run make ci successfully on the main branch. ## Actual Result Import error with latest version of werkzeug. I tried downgrading to a 2.3.X version of werkzeug and it ran wi...
[ "This is being tracked in psf/httpbin" ]
closed
completed
true
2023-11-05T07:13:53
2023-11-05T11:30:32
2024-11-05T00:04:28
0.18
2023-11
[]
bug
1
1
true
false
4.28
0
user_0467
CONTRIBUTOR
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
4
59
true
6,567
https://github.com/psf/requests/issues/6567
Requests doesn't work on emscripten / webassembly
This is maybe verging on a feature request, I'm not sure... Webassembly with emscripten is now an official python platform. However because it runs inside a browser sandbox environment, networking doesn't work normally, and hence nothing in requests works at all. However there is easy access to http(s) requests via th...
This is maybe verging on a feature request, I'm not sure... Webassembly with emscripten is now an official python platform. However because it runs inside a browser sandbox environment, networking doesn't work normally, and hence nothing in requests works at all. However there is easy access to http(s) requests via th...
Requests doesn't work on emscripten / webassembly. This is maybe verging on a feature request, I'm not sure... Webassembly with emscripten is now an official python platform. However because it runs inside a browser sandbox environment, networking doesn't work normally, and hence nothing in requests works at all. Howe...
[ "Hey @[USER], thanks for opening this issue. We actually have a very similar issue on urllib3 (the underlying library of Requests) that has a bounty available. If you wanted to contribute there then many libraries would gain the ability to use WASM Python.\n\n[URL]", "I'm going to close this one now that [URL] is...
closed
completed
true
2023-11-05T19:23:45
2023-12-01T00:19:34
2024-12-28T00:04:13
25.21
2023-11
[]
bug
2
2
true
true
1.16
0
user_0466
NONE
[ "user_0141", "user_0141" ]
[ "MEMBER", "MEMBER" ]
[ false, false ]
false
false
7
190
true
6,569
https://github.com/psf/requests/issues/6569
HTTPSConnectionPool(port=443): Max retries exceeded with url:(Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)')))
I having a long lasting problem with my request connection is getting shutdown using Cloud Run. I couldnt solve it yet so here I am to get support. Here is the full error: ``` Error occurred: HTTPSConnectionPool(host='google.serper.dev', port=443): Max retries exceeded with url: /search (Caused by SSLError(SSLZeroRetu...
I having a long lasting problem with my request connection is getting shutdown using Cloud Run. I couldnt solve it yet so here I am to get support. Here is the full error: [CODE] Here is how I use request: [CODE] This only happens in Cloud Run although the error should be on those side, there must a setting to ...
HTTPSConnectionPool(port=443): Max retries exceeded with url:(Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)'))). I having a long lasting problem with my request connection is getting shutdown using Cloud Run. I couldnt solve it yet so here I am to get support. Here is...
[ "Saw your comment in:\n[URL]\n\nJust wanted to remind anyone reading that Cloud Run does not allocate CPU outside request unless the revision is explicitly configured to do so; here are the docs:\n\n[URL]\n\nand here's a sample:\n\n![image]([URL]" ]
closed
not_planned
true
2023-11-10T00:44:41
2023-12-21T02:51:24
2024-12-22T00:04:51
41.09
2023-11
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
984.33
3
user_0465
NONE
[ "user_0281" ]
[ "NONE" ]
[ false ]
true
false
15
92
true
6,571
https://github.com/psf/requests/issues/6571
adding url parser
hi, I wrote a urlparser named liburlparser with cpp for Python ([URL] it can parse the URL and its host part including domain, suffix, subdomain etc. for suffix extraction it looks for it in this URL [URL] I highly recommend that use it in your project.
hi, I wrote a urlparser named liburlparser with cpp for Python ([URL] it can parse the URL and its host part including domain, suffix, subdomain etc. for suffix extraction it looks for it in this URL [URL] I highly recommend that use it in your project.
adding url parser. hi, I wrote a urlparser named liburlparser with cpp for Python ([URL] it can parse the URL and its host part including domain, suffix, subdomain etc. for suffix extraction it looks for it in this URL [URL] I highly recommend that use it in your project.
[ "No, thank you" ]
closed
not_planned
true
2023-11-11T08:22:49
2023-11-11T12:31:35
2023-11-11T12:31:37
0.17
2023-11
[ "Feature Request", "actions/autoclose-feat" ]
feature_request
1
1
true
false
4.14
0
user_0464
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
false
false
3
46
true
6,572
https://github.com/psf/requests/issues/6572
Documentation Improvement - Add more code examples
Hi, While looking at Requests’ [Documentation]([URL] I noticed that some APIs do not have code examples. Specifically, I found that out of the 89 API methods that appear in the documentation, 68 methods do not have code examples. Looking at Stack Overflow, I see that there are several questions regarding those method...
Hi, While looking at Requests’ [Documentation]([URL] I noticed that some APIs do not have code examples. Specifically, I found that out of the 89 API methods that appear in the documentation, 68 methods do not have code examples. Looking at Stack Overflow, I see that there are several questions regarding those method...
Documentation Improvement - Add more code examples. Hi, While looking at Requests’ [Documentation]([URL] I noticed that some APIs do not have code examples. Specifically, I found that out of the 89 API methods that appear in the documentation, 68 methods do not have code examples. Looking at Stack Overflow, I see tha...
[ "> * The method _**requests.Session.close**_ has no examples in the documentation, but there are 10 questions in stackoverflow regarding this method. [Here]([URL] is an example.\n\nThe existence of questions does not imply the need for a code example. For this one in particular, what kind of example do you think wo...
closed
completed
true
2023-11-14T14:15:27
2023-11-17T10:31:49
2024-11-20T00:04:25
2.84
2023-11
[]
documentation
3
3
true
false
8.24
0
user_0280
NONE
[ "user_0028", "user_0028", "user_0280" ]
[ "CONTRIBUTOR", "CONTRIBUTOR", "NONE" ]
[ false, false, true ]
false
false
7
188
true
6,573
https://github.com/psf/requests/issues/6573
The connection does not close automatically; it is not possible to close the session manually in recent versions of requests.
## When it worked correctly. Configuration: OS debian 10; python3.8; requests=2.28.0; urllib=1.26.14 1. `$python` ```python import requests r = requests.get("[URL] # After processing the request, the connection was automatically closed with the status TIME_WAIT. ``` 2. `$python` ```python import requests s = reque...
## When it worked correctly. Configuration: OS debian 10; python3.8; requests=2.28.0; urllib=1.26.14 1. `$python` [CODE] 2. `$python` [CODE] ## Doesn't work correctly. Update libraries requests=2.31.0; urllib3=2.1.0. 1. `$python` [CODE] 2. `$python` [CODE] **Thus, after library updates, the connection ...
The connection does not close automatically; it is not possible to close the session manually in recent versions of requests.. ## When it worked correctly. Configuration: OS debian 10; python3.8; requests=2.28.0; urllib=1.26.14 1. `$python` [CODE] 2. `$python` [CODE] ## Doesn't work correctly. Update librarie...
[ "Hi @[USER], can you help limit the scope of changes? Does this combination of dependencies produce the issue? If not, this is likely related to urllib3 2.x.\n\n```\nrequests=2.31.0\nurllib=1.26.14\n```", "@[USER] HI!\n\nYes, I checked, this problem occurs due to urllib3.\nIn configuration:\nrequests=2.31.0\nurll...
closed
completed
true
2023-11-15T08:30:36
2023-11-17T10:32:20
2024-11-17T00:04:47
2.08
2023-11
[]
bug
3
3
true
true
0.19
0
user_0139
NONE
[ "user_0007", "user_0139", "user_0139" ]
[ "MEMBER", "NONE", "NONE" ]
[ false, true, true ]
true
false
20
46
true
6,575
https://github.com/psf/requests/issues/6575
Requests post not working with long processing time.
Hello. I am creating server API using FASTAPI/Uvicorn. I am processing files with big AI models that are slow to process. When the file is lower than 10 Mb, everything works fine. But when longer, it implies that it will take more than 3 minutes. By doing the request post, on large files, the post does not get the r...
Hello. I am creating server API using FASTAPI/Uvicorn. I am processing files with big AI models that are slow to process. When the file is lower than 10 Mb, everything works fine. But when longer, it implies that it will take more than 3 minutes. By doing the request post, on large files, the post does not get the r...
Requests post not working with long processing time.. Hello. I am creating server API using FASTAPI/Uvicorn. I am processing files with big AI models that are slow to process. When the file is lower than 10 Mb, everything works fine. But when longer, it implies that it will take more than 3 minutes. By doing the req...
[ "At the end the solution I found, if anyone needs it, was not on the client side but in the server side. Something underneath is closing the connection after 275 seconds, so the solution was to create function in a threding.Thread, while the process is alive. It sends text messages every 30 seconds. In that way, bo...
closed
not_planned
true
2023-11-16T11:10:35
2023-11-29T12:12:19
2024-11-29T00:05:41
13.04
2023-11
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
null
0
user_0279
NONE
[ "user_0279" ]
[ "NONE" ]
[ true ]
false
false
8
325
true
6,576
https://github.com/psf/requests/issues/6576
Possible regression with how MaxRetryError is handled
Since requests does not retry failed connections, a somewhat confusion exception is encountered by doing something like this. ``` >>> requests.get('[URL] ... requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=12121): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.co...
Since requests does not retry failed connections, a somewhat confusion exception is encountered by doing something like this. [CODE] I found in my searches about this exception that years ago this issue was reported and resolved in urllib3 by adding the ability to specify `retries=False` in the request: [URL] The r...
Possible regression with how MaxRetryError is handled. Since requests does not retry failed connections, a somewhat confusion exception is encountered by doing something like this. [CODE] I found in my searches about this exception that years ago this issue was reported and resolved in urllib3 by adding the ability ...
[ "There is no regression here. That thread allows that for retries=False but requests always configures retries by default. You'll want to customize an HTTPAdapter to specify different behavior if you don't want to see a MaxRetryError in the exception message", "So how many retries does requests configure? The doc...
closed
completed
true
2023-11-16T21:07:04
2023-11-17T01:45:56
2024-11-17T00:04:48
0.19
2023-11
[]
bug
2
2
true
false
4.65
0
user_0278
NONE
[ "user_0028", "user_0278" ]
[ "CONTRIBUTOR", "NONE" ]
[ false, true ]
true
false
7
87
true
6,577
https://github.com/psf/requests/issues/6577
Improper URL serialization of boolean GET parameters
Constructing a GET request with a boolean parameter `foo` set to `True` results in `&foo=True` being appended to the URL path, instead of just `&foo`. This makes it inoperable with some APIs (such as the [NIST CVE API]([URL] that return an error when a string value is set for a boolean GET parameter. Example: ```py >>...
Constructing a GET request with a boolean parameter `foo` set to `True` results in `&foo=True` being appended to the URL path, instead of just `&foo`. This makes it inoperable with some APIs (such as the [NIST CVE API]([URL] that return an error when a string value is set for a boolean GET parameter. Example: [CODE] ...
Improper URL serialization of boolean GET parameters. Constructing a GET request with a boolean parameter `foo` set to `True` results in `&foo=True` being appended to the URL path, instead of just `&foo`. This makes it inoperable with some APIs (such as the [NIST CVE API]([URL] that return an error when a string value ...
[ "In the future, please search **closed and** open issues before creating new ones that are duplicates.", "> In the future, please search **closed and** open issues before creating new ones that are duplicates.\n\nWhat makes you think I haven't done that? Instead of lecturing me, the minimum you can do is provide ...
closed
completed
true
2023-11-17T22:36:19
2023-11-18T01:05:00
2024-11-18T00:04:47
0.1
2023-11
[]
other
2
2
true
false
2.48
0
user_0277
NONE
[ "user_0028", "user_0277" ]
[ "CONTRIBUTOR", "NONE" ]
[ false, true ]
true
false
7
157
true
6,578
https://github.com/psf/requests/issues/6578
Weird behaviour with https and proxy authentication
requests.get is getting weird with some combinations of dictionary keys and proxy authentication. ## Expected Result ```python print(requests.get('[URL] proxies={"https" : '[URL] ``` Output: `<Response [200]>` ## Actual Result Doesn't run? (Maybe timeout) But it somehow fixes itself with these changes ```python pri...
requests.get is getting weird with some combinations of dictionary keys and proxy authentication. ## Expected Result [CODE] Output: `<Response [200]>` ## Actual Result Doesn't run? (Maybe timeout) But it somehow fixes itself with these changes [CODE] Output: `<Response [200]>` ## Reproduction Steps [CODE]...
Weird behaviour with https and proxy authentication. requests.get is getting weird with some combinations of dictionary keys and proxy authentication. ## Expected Result [CODE] Output: `<Response [200]>` ## Actual Result Doesn't run? (Maybe timeout) But it somehow fixes itself with these changes [CODE] Output:...
[ "proxies im using are https capable", "misclick", "its most likely that your proxies only support http protocol, it should work the way you have it, so its probably proxy issues.", "> proxies im using are https capable\n\n> its most likely that your proxies only support http protocol, it should work the way y...
closed
not_planned
true
2023-11-19T00:56:06
2026-04-04T19:08:21
2026-04-04T19:08:21
867.76
2023-11
[]
other
5
5
true
true
96.16
0
user_0275
NONE
[ "user_0275", "user_0275", "user_0276", "user_0275", "user_0007" ]
[ "NONE", "NONE", "NONE", "NONE", "MEMBER" ]
[ true, true, false, true, false ]
true
false
7
57
false
6,582
https://github.com/psf/requests/issues/6582
"Recommended Packages and Extensions" page asyncio recommendations are outdated
While looking for an asyncio compatible recommendation for requests, I stumbled on the [documentation]([URL] provided by the project. It recommends Request-Threads, which does not seem to be actively developed (no new changes/releases in the past 5 years). txrequests is an alternative Twisted-based package that seems t...
While looking for an asyncio compatible recommendation for requests, I stumbled on the [documentation]([URL] provided by the project. It recommends Request-Threads, which does not seem to be actively developed (no new changes/releases in the past 5 years). txrequests is an alternative Twisted-based package that seems t...
"Recommended Packages and Extensions" page asyncio recommendations are outdated. While looking for an asyncio compatible recommendation for requests, I stumbled on the [documentation]([URL] provided by the project. It recommends Request-Threads, which does not seem to be actively developed (no new changes/releases in t...
[]
open
null
false
2023-11-23T20:41:53
null
2023-12-28T02:07:05
null
2023-11
[]
other
0
0
true
false
null
0
user_0463
NONE
[]
[]
[]
false
false
9
96
false
6,584
https://github.com/psf/requests/issues/6584
Status Code 425 named incorrectly
HTTP status code 425 is defined as "too early". While the defining RFC defines the code in the context of TLS, I regularly find APIs that use this status code to indicate to a client that an asynchronous job that has been started is still being processed, so the result can not yet be provided. requests.status_codes ho...
HTTP status code 425 is defined as "too early". While the defining RFC defines the code in the context of TLS, I regularly find APIs that use this status code to indicate to a client that an asynchronous job that has been started is still being processed, so the result can not yet be provided. requests.status_codes ho...
Status Code 425 named incorrectly. HTTP status code 425 is defined as "too early". While the defining RFC defines the code in the context of TLS, I regularly find APIs that use this status code to indicate to a client that an asynchronous job that has been started is still being processed, so the result can not yet be ...
[ "I would merge a change to add that to the type definition. Keep in mind unordered was in wide use before that rfc though which is why it has that definition. I doubt anyone is using it from us but we can't remove it.", "Implementing this in an upcoming PR.", "Here is a PR with relevant changes that I believe a...
closed
completed
true
2023-11-24T20:53:31
2023-12-20T06:33:10
2024-12-22T00:04:54
25.4
2023-11
[]
bug
4
4
true
true
5.75
0
user_0462
NONE
[ "user_0028", "user_0274", "user_0274", "user_0007" ]
[ "CONTRIBUTOR", "CONTRIBUTOR", "CONTRIBUTOR", "MEMBER" ]
[ false, false, false, false ]
true
false
5
114
true
6,585
https://github.com/psf/requests/issues/6585
(Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 400 Bad Request')))
I'm developing a program that scrapes news data using the requests library but while running I get this error. my proxy list is working correctly error: Proxy: 103.21.244.100:80 - Error: HTTPSConnectionPool(host='www.nytimes.com', port=443): Max retries exceeded with url: /section/business/media (Caused by ProxyError...
I'm developing a program that scrapes news data using the requests library but while running I get this error. my proxy list is working correctly error: Proxy: 103.21.244.100:80 - Error: HTTPSConnectionPool(host='www.nytimes.com', port=443): Max retries exceeded with url: /section/business/media (Caused by ProxyError...
(Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 400 Bad Request'))). I'm developing a program that scrapes news data using the requests library but while running I get this error. my proxy list is working correctly error: Proxy: 103.21.244.100:80 - Error: HTTPSConnectionPool(host=...
[ "Hi @[USER], it looks like this may be a request for assistance rather than a bug in Requests. We're returning an error showing we're unable to connect to your proxy as it's currently been configured. We'd recommend posting on [StackOverflow]([URL] for help with general usage/configuration issues. We try to reserve...
closed
completed
true
2023-11-26T06:22:50
2024-05-15T20:06:06
2025-05-16T00:04:54
171.57
2023-11
[]
bug
1
1
true
true
4,117.72
0
user_0461
NONE
[ "user_0007" ]
[ "MEMBER" ]
[ false ]
true
false
12
63
true
6,586
https://github.com/psf/requests/issues/6586
The Content-Length header for string `data` counts Unicode characters in the string when it should count encoded bytes
A call like this: ```python response = requests.post("[URL] data="👍👎") ``` auto sets the `Content-Length` header in the request to `2` when it should be `8`. I hit this issue was making a request with a JSON body to a service I own (running behind AWS API Gateway) and having the service complain that there was no ...
A call like this: [CODE] auto sets the `Content-Length` header in the request to `2` when it should be `8`. I hit this issue was making a request with a JSON body to a service I own (running behind AWS API Gateway) and having the service complain that there was no closing brace `}` in the JSON body. I was passing ...
The Content-Length header for string `data` counts Unicode characters in the string when it should count encoded bytes. A call like this: [CODE] auto sets the `Content-Length` header in the request to `2` when it should be `8`. I hit this issue was making a request with a JSON body to a service I own (running behi...
[ "I assume that it is incorrect to require the data to be encoded as UTF-8, so I will work on a fix that removes the need for this hack. @[USER]", "> I assume that it is incorrect to require the data to be encoded as UTF-8, so I will work on a fix that removes the need for this hack. @[USER]\n\nI do not understand...
closed
completed
true
2023-11-27T22:31:09
2024-02-23T01:47:24
2025-02-23T00:04:47
87.14
2023-11
[]
other
7
7
true
false
19.57
1
user_0272
CONTRIBUTOR
[ "user_0271", "user_0272", "user_0272", "user_0271", "user_0273", "user_0028", "user_0272" ]
[ "NONE", "CONTRIBUTOR", "CONTRIBUTOR", "NONE", "NONE", "CONTRIBUTOR", "CONTRIBUTOR" ]
[ false, true, true, false, false, false, true ]
true
false
18
263
true
6,588
https://github.com/psf/requests/issues/6588
Cannot run tests locally
I am trying to install the repository and run all the tests as recommended by the [Contribution Instructions]([URL] I am getting the following error when I perform the following. Importantly, what are the official instructions for installing the dev dependencies for `requests`? I cannot find an official instruction so ...
I am trying to install the repository and run all the tests as recommended by the [Contribution Instructions]([URL] I am getting the following error when I perform the following. Importantly, what are the official instructions for installing the dev dependencies for `requests`? I cannot find an official instruction so ...
Cannot run tests locally. I am trying to install the repository and run all the tests as recommended by the [Contribution Instructions]([URL] I am getting the following error when I perform the following. Importantly, what are the official instructions for installing the dev dependencies for `requests`? I cannot find a...
[ "Based on this commit in the `httpbin` repo, it looks like the werkzeug version is constrained, but the dev dependencies do not constrain it to <2.3. Werkzeug removed the `parse_authorization_headers` func in v3.x.\n\n[URL]", "This is a duplicate of other closed issues. Httpbin needs to be released" ]
closed
completed
true
2023-11-28T15:42:44
2023-11-29T14:17:43
2024-11-29T00:05:40
0.94
2023-11
[]
bug
2
2
true
false
22.58
0
user_0271
NONE
[ "user_0271", "user_0028" ]
[ "NONE", "CONTRIBUTOR" ]
[ true, false ]
true
false
4
73
true
6,591
https://github.com/psf/requests/issues/6591
Failed to establish a new connection: [Errno -2] Name or service not known
I have this code that is trying to divide a wordlist in 20 segments in order to create 20 threads that work with each segment when calling to fuzzer_directiorios and fuzzer_subdomains: ``` import requests from requests.adapters import HTTPAdapter from requests.packages.urllib3.util.retry import Retry from concurrent.f...
I have this code that is trying to divide a wordlist in 20 segments in order to create 20 threads that work with each segment when calling to fuzzer_directiorios and fuzzer_subdomains: [CODE] My problem is when I execute any of both fuzzers this is what I obtain ![image]([URL]
Failed to establish a new connection: [Errno -2] Name or service not known. I have this code that is trying to divide a wordlist in 20 segments in order to create 20 threads that work with each segment when calling to fuzzer_directiorios and fuzzer_subdomains: [CODE] My problem is when I execute any of both fuzzers...
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow]([URL] for general usage questions instead and only report defects here." ]
closed
not_planned
true
2023-11-29T11:18:00
2023-11-29T12:13:42
2024-11-29T00:05:42
0.04
2023-11
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0.93
0
user_0460
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
13
48
true
6,593
https://github.com/psf/requests/issues/6593
Local (and build) tests failing
One of the first steps in contributing to the repository is running the tests locally. However, the tests are failing with the error stated below. Looking through the latest main build, outside of version 3.7, the tests are failing on build as well ([URL] ## Expected Result Running `python -m pytest tests` will gat...
One of the first steps in contributing to the repository is running the tests locally. However, the tests are failing with the error stated below. Looking through the latest main build, outside of version 3.7, the tests are failing on build as well ([URL] ## Expected Result Running `python -m pytest tests` will gat...
Local (and build) tests failing. One of the first steps in contributing to the repository is running the tests locally. However, the tests are failing with the error stated below. Looking through the latest main build, outside of version 3.7, the tests are failing on build as well ([URL] ## Expected Result Running ...
[ "In the future, please search **closed and** open issues before creating new ones that are duplicates.", "@[USER] i did search and the most recent reference I found was older than a week when the build was still failing. Can you point me to the issue number in which it was closed please?" ]
closed
completed
true
2023-11-30T15:15:39
2023-11-30T16:24:43
2024-11-30T00:04:18
0.05
2023-11
[]
bug
2
2
true
false
1.15
0
user_0270
NONE
[ "user_0028", "user_0270" ]
[ "CONTRIBUTOR", "NONE" ]
[ false, true ]
true
true
5
85
true
6,595
https://github.com/psf/requests/issues/6595
Is it possible to send async generator as `data` argument of request method?
I'm using `requests` module in Python and I want to send data in request streaming way. so I applied chunked-encoded request according to [this document]([URL] However, the data to send is provided with another async method. Honestly speaking, I also use Sanic framework, and I read the stream data from `await sanic.r...
I'm using `requests` module in Python and I want to send data in request streaming way. so I applied chunked-encoded request according to [this document]([URL] However, the data to send is provided with another async method. Honestly speaking, I also use Sanic framework, and I read the stream data from `await sanic.r...
Is it possible to send async generator as `data` argument of request method?. I'm using `requests` module in Python and I want to send data in request streaming way. so I applied chunked-encoded request according to [this document]([URL] However, the data to send is provided with another async method. Honestly speaki...
[ "It is not possible to use an async generator with requests. For help with your code, please use [StackOverflow]([URL]" ]
closed
completed
true
2023-12-01T08:39:11
2023-12-01T14:06:43
2024-12-02T00:05:56
0.23
2023-12
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
5.46
0
user_0459
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
13
132
true
6,598
https://github.com/psf/requests/issues/6598
affected urllib3 and certifi packages (older version keeping in setup.py file)
Please upgrade the urllib3 & certifi(2023.7.22) libraries. use urllib3 >=1.26.18 certifi >= 2023.7.22 ## Expected Result Detecting detecting as vulnerabilites [URL] ## Actual Result Upgrade to a patched version of urllib3 (v1.26.18 or v2.0.7) Disable redirects for services that you aren't expecting to respond w...
Please upgrade the urllib3 & certifi(2023.7.22) libraries. use urllib3 >=1.26.18 certifi >= 2023.7.22 ## Expected Result Detecting detecting as vulnerabilites [URL] ## Actual Result Upgrade to a patched version of urllib3 (v1.26.18 or v2.0.7) Disable redirects for services that you aren't expecting to respond w...
affected urllib3 and certifi packages (older version keeping in setup.py file). Please upgrade the urllib3 & certifi(2023.7.22) libraries. use urllib3 >=1.26.18 certifi >= 2023.7.22 ## Expected Result Detecting detecting as vulnerabilites [URL] ## Actual Result Upgrade to a patched version of urllib3 (v1.26.18 ...
[ "Both of those versions are compatible with the current version of requests. There's nothing to do here" ]
closed
completed
true
2023-12-08T11:09:48
2023-12-08T11:13:11
2024-12-08T00:05:04
0
2023-12
[]
other
1
1
true
false
0.05
0
user_0458
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
11
76
true
6,601
https://github.com/psf/requests/issues/6601
Since migration of urllib3 to 2.x data-strings with umlauts in a post request are truncated
Before requests 2.30 it was possible to just pass a Python-string with umlauts (äöü...) to a `requests.post` call. Since urllib3 2.x this causes the body of the request to be truncated. It seems that the Content-Length is calculated based on the length of the string and the string itself is handed over to the call as a...
Before requests 2.30 it was possible to just pass a Python-string with umlauts (äöü...) to a `requests.post` call. Since urllib3 2.x this causes the body of the request to be truncated. It seems that the Content-Length is calculated based on the length of the string and the string itself is handed over to the call as a...
Since migration of urllib3 to 2.x data-strings with umlauts in a post request are truncated. Before requests 2.30 it was possible to just pass a Python-string with umlauts (äöü...) to a `requests.post` call. Since urllib3 2.x this causes the body of the request to be truncated. It seems that the Content-Length is calcu...
[ "Just saw [URL]\nSeems to be the same issue." ]
closed
completed
true
2023-12-13T14:09:36
2023-12-13T23:39:10
2024-12-13T00:06:48
0.4
2023-12
[]
feature_request
1
1
true
false
null
0
user_0269
NONE
[ "user_0269" ]
[ "NONE" ]
[ true ]
true
false
15
140
true
6,602
https://github.com/psf/requests/issues/6602
the first response history url is incorrect
The first url returned from response.url is different than the url passed to requests.get ## Expected Result I expected the first history url to be that same as passed into requests.get ``` Redirect #1 URL: [URL] ``` ## Actual Result The first redirected url is always the same as the the first response.headers.ge...
The first url returned from response.url is different than the url passed to requests.get ## Expected Result I expected the first history url to be that same as passed into requests.get [CODE] ## Actual Result The first redirected url is always the same as the the first response.headers.get('Location') [CODE] ...
the first response history url is incorrect. The first url returned from response.url is different than the url passed to requests.get ## Expected Result I expected the first history url to be that same as passed into requests.get [CODE] ## Actual Result The first redirected url is always the same as the the fi...
[ "Hi @[USER],\n\nI'm assuming you're referring to the trailing `/` in `[URL] That's a standard semantic of url normalization, and is identical to what you provided. This should be treated the same by a properly functioning server.\n\n> In general, a URI that uses the generic syntax for authority with an\n empty path...
closed
completed
true
2023-12-15T01:50:08
2023-12-20T06:32:20
2024-12-22T00:04:53
5.2
2023-12
[]
bug
1
1
true
true
124.7
0
user_0457
NONE
[ "user_0007" ]
[ "MEMBER" ]
[ false ]
true
false
7
118
true
6,604
https://github.com/psf/requests/issues/6604
Links at docs site return 404
At [URL] all links under "Usefull links" lead to 404 page ## Expected Result Open corresponding docs page ## Actual Result 404 page ## Reproduction Steps - Open [URL] - Click on "[Quickstart]([URL] ## System Information Not applicable
At [URL] all links under "Usefull links" lead to 404 page ## Expected Result Open corresponding docs page ## Actual Result 404 page ## Reproduction Steps - Open [URL] - Click on "[Quickstart]([URL] ## System Information Not applicable
Links at docs site return 404. At [URL] all links under "Usefull links" lead to 404 page ## Expected Result Open corresponding docs page ## Actual Result 404 page ## Reproduction Steps - Open [URL] - Click on "[Quickstart]([URL] ## System Information Not applicable
[ "Looks like `.html` at the end of link is what's missing", "Working on it.", "Resolved in #6605." ]
closed
completed
true
2023-12-17T06:33:58
2023-12-20T06:21:53
2024-12-22T00:04:55
2.99
2023-12
[]
documentation
3
3
true
true
14.96
2
user_0267
NONE
[ "user_0267", "user_0268", "user_0007" ]
[ "NONE", "CONTRIBUTOR", "MEMBER" ]
[ true, false, false ]
false
false
6
38
true
6,610
https://github.com/psf/requests/issues/6610
I don't think the name of this function is appropriate, because the return value of this function is a ConnectionPool object, and the first sentence of the comment is also wrong, which makes it a huge difficulty for me to read!!
def get_connection(self, url, proxies=None): """Returns a urllib3 connection for the given URL. This should not be called from user code, and is only exposed for use when subclassing the :class:`HTTPAdapter <requests.adapters.HTTPAdapter>`. :param url: The URL to connect to. :param proxies: (optional) A Requests-...
def get_connection(self, url, proxies=None): """Returns a urllib3 connection for the given URL. This should not be called from user code, and is only exposed for use when subclassing the :class:`HTTPAdapter <requests.adapters.HTTPAdapter>`. :param url: The URL to connect to. :param proxies: (optional) A Requests-...
I don't think the name of this function is appropriate, because the return value of this function is a ConnectionPool object, and the first sentence of the comment is also wrong, which makes it a huge difficulty for me to read!!. def get_connection(self, url, proxies=None): """Returns a urllib3 connection for the give...
[ "adapters.HTTPAdapter.get_connection", "You're right. As documented we are returning a connection pool which behaves almost identically to a connection. Alas, that method and that contract has existed for over a decade at this point, so we will not be changing it" ]
closed
not_planned
true
2023-12-21T12:11:29
2023-12-21T12:53:12
2024-12-22T00:04:50
0.03
2023-12
[]
bug
2
2
true
false
0.69
2
user_0266
NONE
[ "user_0266", "user_0028" ]
[ "NONE", "CONTRIBUTOR" ]
[ true, false ]
false
false
41
52
true
6,611
https://github.com/psf/requests/issues/6611
Unexpected `UnicodeError` on some URL
Seems that `requests` haven't handle well some url which `curl` handle quite well. ## Expected Result Should work. ## Actual Result Crashed as `UnicodeError: label empty or too long` ## Reproduction Steps ```python import requests requests.get("[URL] ``` ## System Information ```json { "chardet": { "version"...
Seems that `requests` haven't handle well some url which `curl` handle quite well. ## Expected Result Should work. ## Actual Result Crashed as `UnicodeError: label empty or too long` ## Reproduction Steps [CODE] ## System Information [CODE]
Unexpected `UnicodeError` on some URL. Seems that `requests` haven't handle well some url which `curl` handle quite well. ## Expected Result Should work. ## Actual Result Crashed as `UnicodeError: label empty or too long` ## Reproduction Steps [CODE] ## System Information [CODE]
[ "I want to work on this, it would be great if anyone assign this to me!", "Duplicate of #6026 #4187 and many others" ]
closed
completed
true
2023-12-22T19:42:09
2024-01-02T12:42:58
2025-01-03T00:04:15
10.71
2023-12
[]
bug
2
2
true
false
111.52
0
user_0456
NONE
[ "user_0265", "user_0028" ]
[ "NONE", "CONTRIBUTOR" ]
[ false, false ]
true
false
5
37
true
6,614
https://github.com/psf/requests/issues/6614
python requests.get() stuck
url=links[x] try: response=requests.get(url,headers=HEADERLISTS,proxies={"http":proxy_lists[prox_index]},timeout=(10,10)) except Exception as e: print("Error : ",e) sys.stderr = open('error.log', 'a+', encoding='utf-8') traceback.print_exc() sys.stderr.close() prox_index+=1 time.sleep(1) continue if respon...
url=links[x] try: response=requests.get(url,headers=HEADERLISTS,proxies={"http":proxy_lists[prox_index]},timeout=(10,10)) except Exception as e: print("Error : ",e) sys.stderr = open('error.log', 'a+', encoding='utf-8') traceback.print_exc() sys.stderr.close() prox_index+=1 time.sleep(1) continue if respon...
python requests.get() stuck. url=links[x] try: response=requests.get(url,headers=HEADERLISTS,proxies={"http":proxy_lists[prox_index]},timeout=(10,10)) except Exception as e: print("Error : ",e) sys.stderr = open('error.log', 'a+', encoding='utf-8') traceback.print_exc() sys.stderr.close() prox_index+=1 time....
[ "This doesn't look like a bug with requests library but with your code. Please ask in StackOverflow and using the `python-requests` tag." ]
closed
not_planned
true
2023-12-25T11:09:00
2023-12-25T15:05:14
2024-12-25T00:04:12
0.16
2023-12
[ "Question/Not a bug" ]
question
1
1
true
false
0.87
0
user_0380
NONE
[ "user_0044" ]
[ "NONE" ]
[ false ]
false
false
3
66
true
6,615
https://github.com/psf/requests/issues/6615
How to use multiple redundant hosts
I would like to understand whether (and how) it is possible to configure requests to target multiple redundant hosts and to use one of them that is reachable. Following the guideline to post such help requests in SO, I asked that in [URL] and got a response there which so far I did not get to work. So I wanted to ask ...
I would like to understand whether (and how) it is possible to configure requests to target multiple redundant hosts and to use one of them that is reachable. Following the guideline to post such help requests in SO, I asked that in [URL] and got a response there which so far I did not get to work. So I wanted to ask ...
How to use multiple redundant hosts. I would like to understand whether (and how) it is possible to configure requests to target multiple redundant hosts and to use one of them that is reachable. Following the guideline to post such help requests in SO, I asked that in [URL] and got a response there which so far I did...
[ "@[USER] looking at your StackOverflow question you're saying you don't want to use things that are the standard for achieving this. You don't want to use a load balancer because you don't want a single address (which doesn't make a great deal of sense) but fine. Is there a reason you're not leveraging DNS on your ...
closed
completed
true
2023-12-30T13:24:51
2024-01-01T12:45:31
2025-01-03T00:04:16
1.97
2023-12
[]
question
1
1
true
false
47.34
0
user_0455
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
false
false
6
65
true
6,616
https://github.com/psf/requests/issues/6616
sslv3 alert handshake failure
Trying to connect [URL] using requests module but it raises the ssl error when using requests==2.31.0 but not on when using requests==2.29.0 but have not tried it on v2.30 ## Expected Result The web page html text content ## Actual Result raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnect...
Trying to connect [URL] using requests module but it raises the ssl error when using requests==2.31.0 but not on when using requests==2.29.0 but have not tried it on v2.30 ## Expected Result The web page html text content ## Actual Result raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnect...
sslv3 alert handshake failure. Trying to connect [URL] using requests module but it raises the ssl error when using requests==2.31.0 but not on when using requests==2.29.0 but have not tried it on v2.30 ## Expected Result The web page html text content ## Actual Result raise SSLError(e, request=request) requests.ex...
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow]([URL] for general usage questions instead and only report defects here.", "This (and some similar recent issues reported here) are probably a resu...
closed
completed
true
2024-01-01T23:02:23
2024-01-02T12:36:52
2024-02-29T02:38:51
0.57
2024-01
[]
bug
4
4
true
true
13.57
1
user_0454
NONE
[ "user_0028", "user_0264", "user_0007", "user_0264" ]
[ "CONTRIBUTOR", "NONE", "MEMBER", "NONE" ]
[ false, false, false, false ]
true
false
4
75
true
6,622
https://github.com/psf/requests/issues/6622
Refresh Test PyPi Package
The Python Package on [TestPyPI has not been updated since 14 March 2015 i.e. 2.5.4.1.]([URL] and therefore references the deprecated `python-requests.org` [URL] is my recent Twitter thread with @[USER]
The Python Package on [TestPyPI has not been updated since 14 March 2015 i.e. 2.5.4.1.]([URL] and therefore references the deprecated `python-requests.org` [URL] is my recent Twitter thread with @[USER]
Refresh Test PyPi Package. The Python Package on [TestPyPI has not been updated since 14 March 2015 i.e. 2.5.4.1.]([URL] and therefore references the deprecated `python-requests.org` [URL] is my recent Twitter thread with @[USER]
[ "No. TestPyPI generally should be evicting those after a period of time thus someone is uploading that. Further TestPyPI isn't intended to have any use besides verifying your upload works. Don't install things from there", "@[USER] wrote:\n> No. TestPyPI generally should be evicting those after a period of time t...
closed
not_planned
true
2024-01-17T01:28:03
2024-01-17T01:57:07
2025-01-17T00:04:17
0.02
2024-01
[]
other
2
2
true
false
0.48
0
user_0263
NONE
[ "user_0028", "user_0263" ]
[ "CONTRIBUTOR", "NONE" ]
[ false, true ]
false
false
4
29
true
6,625
https://github.com/psf/requests/issues/6625
How to get IP address of connected host after getting the response?
Hello, I'm trying to understand how I could access information about host that the request connected to. I have situation when behind a hostname, there is a multiple IP addresses that you can connect to, so for example `x.com` can route me to `1.2.3.4` or `2.3.4.5`. I need that information after receiving response fro...
Hello, I'm trying to understand how I could access information about host that the request connected to. I have situation when behind a hostname, there is a multiple IP addresses that you can connect to, so for example `x.com` can route me to `1.2.3.4` or `2.3.4.5`. I need that information after receiving response fro...
How to get IP address of connected host after getting the response?. Hello, I'm trying to understand how I could access information about host that the request connected to. I have situation when behind a hostname, there is a multiple IP addresses that you can connect to, so for example `x.com` can route me to `1.2.3....
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-01-23T15:10:15
2024-01-23T15:10:26
2024-01-23T15:10:28
0
2024-01
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0453
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
true
false
12
92
true
6,627
https://github.com/psf/requests/issues/6627
Kenneth Reitz, Take care of yourself.
I am also the author of a popular open-source library (MagicIndicator, 10K stars). Similarly, I have experienced manic depression (bipolar disorder), but I have overcome it and now lead a normal, positive life. I hope you recover soon too. Keep fighting!
I am also the author of a popular open-source library (MagicIndicator, 10K stars). Similarly, I have experienced manic depression (bipolar disorder), but I have overcome it and now lead a normal, positive life. I hope you recover soon too. Keep fighting!
Kenneth Reitz, Take care of yourself.. I am also the author of a popular open-source library (MagicIndicator, 10K stars). Similarly, I have experienced manic depression (bipolar disorder), but I have overcome it and now lead a normal, positive life. I hope you recover soon too. Keep fighting!
[ "Closing this issue as it's not an issue in Requests. Please consider avenues of messaging folks directly, opening GitHub issues pings thousands of unrelated people." ]
closed
completed
true
2024-01-31T02:10:27
2024-01-31T02:16:26
2024-01-31T02:40:14
0
2024-01
[]
other
1
1
true
true
0.1
0
user_0452
NONE
[ "user_0141" ]
[ "MEMBER" ]
[ false ]
false
false
6
41
true
6,628
https://github.com/psf/requests/issues/6628
[BUG] JSONDecodeError can't be deserialized - invalid JSON raises a BrokenProcessPool and crashes the entire process pool
Hi all, I've stumbled upon a bug in the `requests` library, and have a proposal for a fix. In short: I have a process pool running tasks in parallel, that are among other things doing queries to third-party APIs. One third-party returns an invalid JSON document as response in case of error. However, instead of just ...
Hi all, I've stumbled upon a bug in the `requests` library, and have a proposal for a fix. In short: I have a process pool running tasks in parallel, that are among other things doing queries to third-party APIs. One third-party returns an invalid JSON document as response in case of error. However, instead of just ...
[BUG] JSONDecodeError can't be deserialized - invalid JSON raises a BrokenProcessPool and crashes the entire process pool. Hi all, I've stumbled upon a bug in the `requests` library, and have a proposal for a fix. In short: I have a process pool running tasks in parallel, that are among other things doing queries to ...
[ "As mentioned I've raised [URL] hopefully the proposal makes sense." ]
closed
completed
true
2024-01-31T16:06:02
2024-02-22T20:27:39
2025-05-16T00:04:53
22.18
2024-01
[]
bug
1
1
true
false
null
0
user_0262
CONTRIBUTOR
[ "user_0262" ]
[ "CONTRIBUTOR" ]
[ true ]
true
true
17
460
true
6,630
https://github.com/psf/requests/issues/6630
Multipart/form-data requests creates mismatched boundaries between request body and headers
## Expected Result multipart/form-data requests should have the same boundary in the request content-type headers and request body: Content-Type header: `multipart/form-data; boundary=bb8517293e3e961b2e7dfbd4e303fe56` Boundary for request body: `--bb8517293e3e961b2e7dfbd4e303fe56` ## Actual Result multipart/form-data ...
## Expected Result multipart/form-data requests should have the same boundary in the request content-type headers and request body: Content-Type header: `multipart/form-data; boundary=bb8517293e3e961b2e7dfbd4e303fe56` Boundary for request body: `--bb8517293e3e961b2e7dfbd4e303fe56` ## Actual Result multipart/form-data ...
Multipart/form-data requests creates mismatched boundaries between request body and headers. ## Expected Result multipart/form-data requests should have the same boundary in the request content-type headers and request body: Content-Type header: `multipart/form-data; boundary=bb8517293e3e961b2e7dfbd4e303fe56` Boundary...
[ "I cannot reproduce this at all. The only time the boundary tends to differ in the header from what's in the body is when the user overrides the Content-Type header manually.\n\nIn the future, please search **closed and** open issues before creating new ones that are duplicates." ]
closed
completed
true
2024-02-01T19:04:24
2024-02-03T12:26:40
2025-02-03T00:04:31
1.72
2024-02
[ "Question/Not a bug" ]
question
1
1
true
false
41.37
0
user_0451
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
10
64
true
6,631
https://github.com/psf/requests/issues/6631
`params` might be misnamed?
### Summary Being a bit pedantic but isn't it that the `parameters` of a URL are a ";<parameters>" affair inside the path e.g. `[URL] ([RFC source]([URL] and [summary]([URL] and what Requests calls `params` is actually the `query`.. which I long have been calling the "querystring" thanks to my days of Classic ASP prog...
### Summary Being a bit pedantic but isn't it that the `parameters` of a URL are a ";<parameters>" affair inside the path e.g. `[URL] ([RFC source]([URL] and [summary]([URL] and what Requests calls `params` is actually the `query`.. which I long have been calling the "querystring" thanks to my days of Classic ASP prog...
`params` might be misnamed?. ### Summary Being a bit pedantic but isn't it that the `parameters` of a URL are a ";<parameters>" affair inside the path e.g. `[URL] ([RFC source]([URL] and [summary]([URL] and what Requests calls `params` is actually the `query`.. which I long have been calling the "querystring" thanks t...
[ "Parameters is another common name for the parsed (not encoded) pieces of the query string. `params` are meant to be passed as a native python object (e.g., dictionary of string to string, sequence of tuples of length 2, etc). So if you parsed a query string into parameters on the server side, the client side would...
closed
not_planned
true
2024-02-02T13:29:53
2024-02-03T10:11:54
2025-02-03T00:04:32
0.86
2024-02
[]
question
1
1
true
false
2.14
0
user_0450
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
false
false
4
134
true
6,633
https://github.com/psf/requests/issues/6633
Getting warning while running databricks cli command in azure devops
Hello team, i am using Databricks Cli for deployment of notebooks on azure and it is throwing below warning. Could you help me to resolve warning? Also i am using pip install --upgrade urllib3 chardet command to upgrade but still it is giving warning. /usr/lib/python3/dist-packages/requests/__init__.py:87: RequestsDep...
Hello team, i am using Databricks Cli for deployment of notebooks on azure and it is throwing below warning. Could you help me to resolve warning? Also i am using pip install --upgrade urllib3 chardet command to upgrade but still it is giving warning. /usr/lib/python3/dist-packages/requests/__init__.py:87: RequestsDep...
Getting warning while running databricks cli command in azure devops. Hello team, i am using Databricks Cli for deployment of notebooks on azure and it is throwing below warning. Could you help me to resolve warning? Also i am using pip install --upgrade urllib3 chardet command to upgrade but still it is giving warnin...
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow]([URL] for general usage questions instead and only report defects here." ]
closed
not_planned
true
2024-02-05T20:15:08
2024-02-05T20:18:37
2024-02-05T20:18:40
0
2024-02
[]
bug
1
1
true
false
0.06
0
user_0449
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
false
false
10
106
true
6,635
https://github.com/psf/requests/issues/6635
IPv6 address change for sequential gets
I'm not sure, if the following issue is caused by requests or one of the underlying libraries. The library [python-fritzhome]([URL] uses requests to connect to the HTTP interface of a router called FRITZ!Box. During sequential get calls, the IPv6 address is switched. I already opened an [issue]([URL] for the mentioned...
I'm not sure, if the following issue is caused by requests or one of the underlying libraries. The library [python-fritzhome]([URL] uses requests to connect to the HTTP interface of a router called FRITZ!Box. During sequential get calls, the IPv6 address is switched. I already opened an [issue]([URL] for the mentioned...
IPv6 address change for sequential gets. I'm not sure, if the following issue is caused by requests or one of the underlying libraries. The library [python-fritzhome]([URL] uses requests to connect to the HTTP interface of a router called FRITZ!Box. During sequential get calls, the IPv6 address is switched. I already ...
[ "Removing the sleep calls did not change anything:\n![grafik]([URL]", "@[USER] this is not a bug. It's not ideal that when looking up the DNS for a hostname we only ever use 1 address. It's also not clear why you consider this a bug. Even still, this can likely be reproduced with just `urllib3` and potentially ev...
closed
completed
true
2024-02-06T23:53:20
2024-02-07T13:06:38
2025-02-07T00:04:13
0.55
2024-02
[]
bug
2
2
true
false
13.22
0
user_0261
NONE
[ "user_0261", "user_0028" ]
[ "NONE", "CONTRIBUTOR" ]
[ true, false ]
true
false
6
117
true
6,636
https://github.com/psf/requests/issues/6636
requests Session and pool timeout.
Hi i want to know if it is possible for connections in session pool to have a timeout. For example ``` import requests import time sess = requests.Session(pool_timeout=3) sess.get("[URL] time.sleep(4) sess.get("[URL] # This creates a new connection and the previous is closed ``` I've found some answers that point t...
Hi i want to know if it is possible for connections in session pool to have a timeout. For example [CODE] I've found some answers that point to setting default_socket_options, but that doesn't seem to close sessions i always end up with this behaviour while logging. [CODE] This doesn't start a new https connect...
requests Session and pool timeout.. Hi i want to know if it is possible for connections in session pool to have a timeout. For example [CODE] I've found some answers that point to setting default_socket_options, but that doesn't seem to close sessions i always end up with this behaviour while logging. [CODE] Th...
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-02-07T19:04:44
2024-02-07T19:04:56
2024-02-07T19:04:56
0
2024-02
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0448
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
true
false
5
96
true
6,637
https://github.com/psf/requests/issues/6637
[BUG] pytest error in python:3.8- (only work in 3.7) because httpbin uses deprecated werkzeug function 'parse_authorization_header'
# Summary pytest error happens in python:3.8- (only work in 3.7) because httpbin uses **deprecated werkzeug function 'parse_authorization_header'**. Because of this, pytest don't work above python 3.8 version, and it could be a serious problem for requests.py contributers. I'm new to open source contributing, so if y...
# Summary pytest error happens in python:3.8- (only work in 3.7) because httpbin uses **deprecated werkzeug function 'parse_authorization_header'**. Because of this, pytest don't work above python 3.8 version, and it could be a serious problem for requests.py contributers. I'm new to open source contributing, so if y...
[BUG] pytest error in python:3.8- (only work in 3.7) because httpbin uses deprecated werkzeug function 'parse_authorization_header'. # Summary pytest error happens in python:3.8- (only work in 3.7) because httpbin uses **deprecated werkzeug function 'parse_authorization_header'**. Because of this, pytest don't work abo...
[ "In the future, please search **closed and** open issues before creating new ones that are duplicates.", "> In the future, please search **closed and** open issues before creating new ones that are duplicates.\n\nThank you for your response, I will be more careful." ]
closed
completed
true
2024-02-09T10:32:47
2024-02-09T10:48:50
2025-02-09T00:04:48
0.01
2024-02
[]
bug
2
2
true
false
0.27
0
user_0260
NONE
[ "user_0028", "user_0260" ]
[ "CONTRIBUTOR", "NONE" ]
[ false, true ]
true
false
16
311
true
6,639
https://github.com/psf/requests/issues/6639
2.31.0: pytest fails in `tests/test_requests.py::TestRequests::test_https_warnings` unit
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm build -w --no-isolation` - because I'm calling `build` with `--no-isolation` I'm using during all processes only locally installed modules - in...
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm build -w --no-isolation` - because I'm calling `build` with `--no-isolation` I'm using during all processes only locally installed modules - in...
2.31.0: pytest fails in `tests/test_requests.py::TestRequests::test_https_warnings` unit. I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm build -w --no-isolation` - because I'm calling `build...
[ "I've tested as well 2.31.0 + current master (a5a0e4b5) and it fails as well\n<details>\n\n```console\n+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-requests-2.31.0-4.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-requests-2.31.0-4.fc35.x86_64/usr/lib/python3.8/site-p...
closed
completed
true
2024-02-14T22:45:59
2024-02-14T23:22:05
2025-02-14T00:04:12
0.03
2024-02
[]
bug
3
3
true
true
0.6
0
user_0259
NONE
[ "user_0259", "user_0007", "user_0259" ]
[ "NONE", "MEMBER", "NONE" ]
[ true, false, true ]
true
false
6
126
true
6,643
https://github.com/psf/requests/issues/6643
Leading slash in uri followed by column fails
Leading slash in uri followed by column fails. ## Expected Result ```python requests.get('[URL] <Response [200]> ``` ## Actual Result ```python Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/urllib3/util/url.py", line 425, in parse_url host, port = _HOST_PORT_RE.match(host_port)....
Leading slash in uri followed by column fails. ## Expected Result [CODE] ## Actual Result [CODE] ## Reproduction Steps [CODE] ## System Information $ python -m requests.help [CODE]
Leading slash in uri followed by column fails. Leading slash in uri followed by column fails. ## Expected Result [CODE] ## Actual Result [CODE] ## Reproduction Steps [CODE] ## System Information $ python -m requests.help [CODE]
[ "I can reproduce this with\n\n```py\nimport urllib3\n\nurllib3.PoolManager().urlopen(method=\"GET\", url=\"[URL]\n```\n\ncc @[USER] @[USER]", "Ah I see the problem, both the PoolManager and requests are sending the path (`//v:h`) to `urlopen`: [URL] [URL] and `urlopen` is now probably taking on too many responsib...
closed
completed
true
2024-02-21T21:47:35
2024-02-23T00:49:43
2026-05-10T21:38:07
1.13
2024-02
[]
bug
6
6
true
true
3.09
0
user_0446
NONE
[ "user_0028", "user_0028", "user_0028", "user_0028", "user_0028", "user_0007" ]
[ "CONTRIBUTOR", "CONTRIBUTOR", "CONTRIBUTOR", "CONTRIBUTOR", "CONTRIBUTOR", "MEMBER" ]
[ false, false, false, false, false, false ]
true
true
8
28
true
6,645
https://github.com/psf/requests/issues/6645
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
can anyone help me with the below error Error occurred ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) I am using requests==2.28.2 version and while logging into tableau server using rest api the error is coming. As I am first creating the session and then doing the post req...
can anyone help me with the below error Error occurred ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) I am using requests==2.28.2 version and while logging into tableau server using rest api the error is coming. As I am first creating the session and then doing the post req...
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). can anyone help me with the below error Error occurred ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) I am using requests==2.28.2 version and while logging into tableau server usin...
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow]([URL] for general usage questions instead and only report defects here." ]
closed
not_planned
true
2024-02-22T15:19:13
2024-02-22T15:49:33
2025-02-22T00:04:10
0.02
2024-02
[]
other
1
1
true
false
0.5
0
user_0445
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
false
false
8
49
true
6,646
https://github.com/psf/requests/issues/6646
`get_encoding_from_headers` fails if charset name not specified
`requests.utils.get_encoding_from_headers` assumes that the charset parameter always specifies a name. In very rare cases a server can send a malformed content-type header which does not specify a name. In these cases, requests should probably just treat it as if no charset had been specified. ## Expected Result `req...
`requests.utils.get_encoding_from_headers` assumes that the charset parameter always specifies a name. In very rare cases a server can send a malformed content-type header which does not specify a name. In these cases, requests should probably just treat it as if no charset had been specified. ## Expected Result `req...
`get_encoding_from_headers` fails if charset name not specified. `requests.utils.get_encoding_from_headers` assumes that the charset parameter always specifies a name. In very rare cases a server can send a malformed content-type header which does not specify a name. In these cases, requests should probably just treat ...
[ "Hello @[USER] \nI just pushed a PR to fix this issue. It is my first PR in this project. Let's wait for project mantainer to validate my fix.\n\nBest Regards", "I wonder if `_parse_content_type_header` should be changed so that it ignores parameters with no equals after them. Or sets them to the empty string, or...
closed
completed
true
2024-02-22T23:56:00
2026-03-30T17:37:51
2026-03-30T17:37:51
766.74
2024-02
[]
bug
3
3
true
true
354.05
0
user_0444
NONE
[ "user_0250", "user_0258", "user_0007" ]
[ "NONE", "NONE", "MEMBER" ]
[ false, false, false ]
true
false
7
60
false
6,647
https://github.com/psf/requests/issues/6647
Wrong CA Certificates used in requests.Session.send
Bug in requests.sessions.py: [URL] session.merge_environment_settings is called in session.request and not in session.send which means if users want to build their own prepared requests (see example below), the correct certificates file will not be used unless explicitly passed to send. I believe these environment s...
Bug in requests.sessions.py: [URL] session.merge_environment_settings is called in session.request and not in session.send which means if users want to build their own prepared requests (see example below), the correct certificates file will not be used unless explicitly passed to send. I believe these environment s...
Wrong CA Certificates used in requests.Session.send. Bug in requests.sessions.py: [URL] session.merge_environment_settings is called in session.request and not in session.send which means if users want to build their own prepared requests (see example below), the correct certificates file will not be used unless expl...
[ "I can confirm I'm seeing this behavior when using prepared requests and `sessions.send()`, being forced to set `session.verify = os.environ['REQUESTS_CA_BUNDLE']` before `send()`." ]
closed
duplicate
true
2024-02-23T08:35:00
2025-10-01T22:30:53
2026-10-02T00:08:08
586.58
2024-02
[]
bug
1
1
true
false
2,340.6
4
user_0443
NONE
[ "user_0257" ]
[ "NONE" ]
[ false ]
true
false
6
72
true
6,648
https://github.com/psf/requests/issues/6648
POST with multiple files with the form-data sends only 1 file.
POSTing multiple files with a form-data. Using this doc: [URL] However only 1 file is received by the endpoint. But if you change the files array (deviates from the documentation): from: ```python files=[ ('images',('image01.png',open('H:/image01.png','rb'),'image/png')), ('images',('image02.png',open('H:/image02....
POSTing multiple files with a form-data. Using this doc: [URL] However only 1 file is received by the endpoint. But if you change the files array (deviates from the documentation): from: [CODE] to: [CODE] everything works. ## Expected Result Receiving endpoint gets an array with 2 items to iterate through th...
POST with multiple files with the form-data sends only 1 file.. POSTing multiple files with a form-data. Using this doc: [URL] However only 1 file is received by the endpoint. But if you change the files array (deviates from the documentation): from: [CODE] to: [CODE] everything works. ## Expected Result Rec...
[ "Hello @[USER],\n\nAs request.post takes files as list in that also, this list should be _[(key,value)] or [{key,value}]_ which is checked by function **src.requests.utils.to_key_val_list()** and which make sense that there should be unique key. But, if it is working same key in older versions then it is bug in new...
closed
not_planned
true
2024-02-24T08:02:15
2024-04-05T22:58:46
2025-04-06T00:04:46
41.62
2024-02
[]
other
4
4
true
false
171.29
0
user_0442
NONE
[ "user_0255", "user_0028", "user_0256", "user_0028" ]
[ "NONE", "CONTRIBUTOR", "NONE", "CONTRIBUTOR" ]
[ false, false, false, false ]
true
false
11
127
true
6,650
https://github.com/psf/requests/issues/6650
Max retries exceeded with url
Can explain me cause of this error and is possible avoid or solve it ? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/mnt/PIDrive/Recordurbate/recordurbate/bot.py", line 81, in is_online r = requests.get(url) File "/usr/local/lib/python3.9/dist-package...
Can explain me cause of this error and is possible avoid or solve it ? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/mnt/PIDrive/Recordurbate/recordurbate/bot.py", line 81, in is_online r = requests.get(url) File "/usr/local/lib/python3.9/dist-package...
Max retries exceeded with url. Can explain me cause of this error and is possible avoid or solve it ? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/mnt/PIDrive/Recordurbate/recordurbate/bot.py", line 81, in is_online r = requests.get(url) File "/usr/l...
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-02-25T02:11:56
2024-02-25T02:12:07
2024-02-25T02:12:08
0
2024-02
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0441
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
false
true
5
107
true
6,653
https://github.com/psf/requests/issues/6653
Document which exceptions request() might raise
Ask to document which exceptions request() might raise I notice that the .[json function documents that it might raise]([URL] a `JSONDecodeError`. This is very helpful for writing comprehensive error handling code around requests. I'm asking for that to be done for [the main interface]([URL] as well. While [a list of...
Ask to document which exceptions request() might raise I notice that the .[json function documents that it might raise]([URL] a `JSONDecodeError`. This is very helpful for writing comprehensive error handling code around requests. I'm asking for that to be done for [the main interface]([URL] as well. While [a list of...
Document which exceptions request() might raise. Ask to document which exceptions request() might raise I notice that the .[json function documents that it might raise]([URL] a `JSONDecodeError`. This is very helpful for writing comprehensive error handling code around requests. I'm asking for that to be done for [the...
[ "As a newcomer to this project, I'm eager to contribute and address the mentioned issue. I'd like to inquire about the exceptions list mentioned in the documentation—is it exhaustive and does it encompass all possible exceptions? If so, I'm prepared to work on enhancing the documentation. My proposal is to not only...
open
null
false
2024-02-27T23:09:53
null
2026-06-13T21:59:33
null
2024-02
[]
bug
6
6
true
false
179.88
0
user_0440
NONE
[ "user_0250", "user_0251", "user_0252", "user_0253", "user_0254", "user_0254" ]
[ "NONE", "NONE", "NONE", "NONE", "NONE", "NONE" ]
[ false, false, false, false, false, false ]
false
false
6
110
false
6,656
https://github.com/psf/requests/issues/6656
The content for this response was already consumed
I am using response.iter_content(chunk_size=None)) to read stream data also kept stream = True, here i am trying to read set of jsons in a loop, but if something breaks due to network issue (which i observed it does removes some characters) and its not complete json i kept except condition to read from response.text fo...
I am using response.iter_content(chunk_size=None)) to read stream data also kept stream = True, here i am trying to read set of jsons in a loop, but if something breaks due to network issue (which i observed it does removes some characters) and its not complete json i kept except condition to read from response.text fo...
The content for this response was already consumed. I am using response.iter_content(chunk_size=None)) to read stream data also kept stream = True, here i am trying to read set of jsons in a loop, but if something breaks due to network issue (which i observed it does removes some characters) and its not complete json i...
[ "this is very urgent for me", "can library owner can respond?", "Hello Alnisha,\nI am willing to work on your issue. could you please give me Reproduction Steps so that I understand your issue clearly ? \n Best Regards", "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for h...
closed
not_planned
true
2024-03-04T11:41:15
2024-03-06T10:57:27
2025-03-07T00:04:37
1.97
2024-03
[]
other
4
4
true
false
46.51
0
user_0249
NONE
[ "user_0249", "user_0249", "user_0250", "user_0028" ]
[ "NONE", "NONE", "NONE", "CONTRIBUTOR" ]
[ true, true, false, false ]
true
false
8
223
true
6,657
https://github.com/psf/requests/issues/6657
Post Request Status and header error.
I am currently involved in a project where it is necessary to send POST requests to a remote server. I have noticed unexpected behavior when trying to emulate a POST request that I receive from Mozilla Firefox. Specifically, when I perform the POST request through Mozilla Firefox, I receive a response with HTTP/0.9 wi...
I am currently involved in a project where it is necessary to send POST requests to a remote server. I have noticed unexpected behavior when trying to emulate a POST request that I receive from Mozilla Firefox. Specifically, when I perform the POST request through Mozilla Firefox, I receive a response with HTTP/0.9 wi...
Post Request Status and header error.. I am currently involved in a project where it is necessary to send POST requests to a remote server. I have noticed unexpected behavior when trying to emulate a POST request that I receive from Mozilla Firefox. Specifically, when I perform the POST request through Mozilla Firefox...
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-03-06T13:02:35
2024-03-06T13:02:47
2024-03-06T13:02:48
0
2024-03
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0439
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
false
false
6
280
true
6,658
https://github.com/psf/requests/issues/6658
Post requests with unicode chars in string as data sends incomplete/trimmed data (in >=2.30 with urllib3 2.0)
In the *requests*>=2.30.0 (with urllib3 2+), when you send a post request with `data=<a string containing unicode chars>`, the server receives incomplete/trimmed data. This is due to the fact `content-length` set by *requests* will not match the actually sent data. It is set to len(data), yet it sends data.encoded() - ...
In the *requests*>=2.30.0 (with urllib3 2+), when you send a post request with `data=<a string containing unicode chars>`, the server receives incomplete/trimmed data. This is due to the fact `content-length` set by *requests* will not match the actually sent data. It is set to len(data), yet it sends data.encoded() - ...
Post requests with unicode chars in string as data sends incomplete/trimmed data (in >=2.30 with urllib3 2.0). In the *requests*>=2.30.0 (with urllib3 2+), when you send a post request with `data=<a string containing unicode chars>`, the server receives incomplete/trimmed data. This is due to the fact `content-length` ...
[ "Hi @[USER], this is a duplicate of #6586 which is already fixed in #6589. Please check opened and closed issues before opening new ones. Thanks!" ]
closed
completed
true
2024-03-07T19:11:48
2024-03-07T19:15:20
2025-03-08T00:03:48
0
2024-03
[]
feature_request
1
1
true
true
0.06
0
user_0438
NONE
[ "user_0007" ]
[ "MEMBER" ]
[ false ]
true
false
17
191
true
6,660
https://github.com/psf/requests/issues/6660
REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE environment variables get ignored when in a venv
Requests supports the REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE environment variables to override the certificate ## Expected Result Here's what's happening outside of the venv ``` REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt python3 Python 3.11.8 (main, Feb 08 2024, 08:03:16) [GCC] on linux Type "help", "copy...
Requests supports the REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE environment variables to override the certificate ## Expected Result Here's what's happening outside of the venv [CODE] ## Actual Result Inside the venv: [CODE] ## Reproduction Steps [CODE] ## System Information $ python -m requests.help [CO...
REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE environment variables get ignored when in a venv. Requests supports the REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE environment variables to override the certificate ## Expected Result Here's what's happening outside of the venv [CODE] ## Actual Result Inside the venv: [CODE] ...
[ "A few things:\n\n1. Requests isn't in use in your examples; you're using `certifi`. \n2. My guess, is that outside of the venv you have `certifi` from your package manager, and every Linux distro replaces `certifi` with something else\n3. `certifi` (a separate project) does not support either environment variable,...
closed
completed
true
2024-03-13T16:03:02
2024-03-13T18:51:46
2025-03-14T00:04:36
0.12
2024-03
[]
feature_request
2
2
true
false
2.81
0
user_0437
NONE
[ "user_0028", "user_0028" ]
[ "CONTRIBUTOR", "CONTRIBUTOR" ]
[ false, false ]
true
false
11
42
true
6,663
https://github.com/psf/requests/issues/6663
How to download multiple files in local system using POST API request in python rather than in ascii or binary form data ?
I struck in one scenario in which i need to download multiple files in local repository using POST API request in python 3.9.12. I tried below code but not able to resolve the issue. ``` def download(url: str, dest_folder: str): if not os.path.exists(dest_folder): os.makedirs(dest_folder) filename = url.split('/'...
I struck in one scenario in which i need to download multiple files in local repository using POST API request in python 3.9.12. I tried below code but not able to resolve the issue. [CODE] When I used above code it gives me below error: [CODE] **In postman we have that option to SEND and DOWNLOAD files and thr...
How to download multiple files in local system using POST API request in python rather than in ascii or binary form data ?. I struck in one scenario in which i need to download multiple files in local repository using POST API request in python 3.9.12. I tried below code but not able to resolve the issue. [CODE] Wh...
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-03-16T08:28:26
2024-03-16T08:28:36
2024-03-16T08:28:37
0
2024-03
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0436
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
true
false
23
150
true
6,665
https://github.com/psf/requests/issues/6665
Is feature freeze permanent?
Hi. For several years I see feature freeze on this project (although I haven't see any announce about it). Are there any plans start to accept new features? Can contributors help with anything? Lack of new features leads to introducing new HTTP clients like [niquests]([URL] which do support HTTP/2, QUICK, DNS over HT...
Hi. For several years I see feature freeze on this project (although I haven't see any announce about it). Are there any plans start to accept new features? Can contributors help with anything? Lack of new features leads to introducing new HTTP clients like [niquests]([URL] which do support HTTP/2, QUICK, DNS over HT...
Is feature freeze permanent?. Hi. For several years I see feature freeze on this project (although I haven't see any announce about it). Are there any plans start to accept new features? Can contributors help with anything? Lack of new features leads to introducing new HTTP clients like [niquests]([URL] which do supp...
[ "Yes it is. There's an issue describing the feature freeze policy.", "Duplicate #969" ]
closed
not_planned
true
2024-03-18T09:35:24
2024-03-18T10:26:46
2024-03-18T10:26:57
0.04
2024-03
[]
feature_request
2
2
true
false
0.82
1
user_0435
NONE
[ "user_0028", "user_0028" ]
[ "CONTRIBUTOR", "CONTRIBUTOR" ]
[ false, false ]
false
false
4
56
true
6,666
https://github.com/psf/requests/issues/6666
Consider making certifi an optional dependency
1. In some cases users may need to access some site in a company private network, with SSL certificate signed by custom root certificate (not public). Accessing this site using browser is working fine if user added this root certificate to system cert store. But requests will complain that certificate cannot be verifie...
1. In some cases users may need to access some site in a company private network, with SSL certificate signed by custom root certificate (not public). Accessing this site using browser is working fine if user added this root certificate to system cert store. But requests will complain that certificate cannot be verifie...
Consider making certifi an optional dependency. 1. In some cases users may need to access some site in a company private network, with SSL certificate signed by custom root certificate (not public). Accessing this site using browser is working fine if user added this root certificate to system cert store. But requests ...
[ "No" ]
closed
not_planned
true
2024-03-18T09:47:47
2024-03-18T10:25:21
2024-03-18T10:25:23
0.03
2024-03
[]
feature_request
1
1
true
false
0.62
0
user_0435
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
false
false
6
145
true
6,669
https://github.com/psf/requests/issues/6669
Failed to ignore the SSL certificate verification when using `verify=False` option
Requests is not ignoring the SSL certificate verification when using the `verify=False` option. ## Expected Result Same as curl with `-k` ```bash $ curl -k [URL] <html> <head><title>301 Moved Permanently</title></head> <body> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx/1.20.1</center> </body> <...
Requests is not ignoring the SSL certificate verification when using the `verify=False` option. ## Expected Result Same as curl with `-k` [CODE] or [CODE] ## Actual Result [CODE] The result is similar to curl without `-k`. [CODE] ## Reproduction Steps [CODE] or [CODE] ## System Information Te...
Failed to ignore the SSL certificate verification when using `verify=False` option. Requests is not ignoring the SSL certificate verification when using the `verify=False` option. ## Expected Result Same as curl with `-k` [CODE] or [CODE] ## Actual Result [CODE] The result is similar to curl without `-k`. ...
[ "A handshake error is not the same as verifying a trust chain. My guess is that requests/urllib3 and your server cannot agree on ciphersuites to use during the handshake. Otherwise you would see a very different exception message.", "From [URL] the supported cipher suites:\n\n<pre>\n<b>Protocols</b>\nTLS 1.3 No\n...
closed
not_planned
true
2024-03-23T19:40:30
2024-03-24T12:49:47
2025-03-25T00:04:50
0.71
2024-03
[]
bug
5
5
true
false
5.96
0
user_0248
NONE
[ "user_0028", "user_0248", "user_0028", "user_0248", "user_0028" ]
[ "CONTRIBUTOR", "NONE", "CONTRIBUTOR", "NONE", "CONTRIBUTOR" ]
[ false, true, false, true, false ]
true
true
11
71
true
6,670
https://github.com/psf/requests/issues/6670
Support for PKey (openssl) or cryptography Key classes in cert parameter in request (and linked) calls
I would like to use PKCS11 card for client authentication with your great library, but I am stuck with the need for key files. WIth the requested classes extensibility of the key support can be open for others to explore.
I would like to use PKCS11 card for client authentication with your great library, but I am stuck with the need for key files. WIth the requested classes extensibility of the key support can be open for others to explore.
Support for PKey (openssl) or cryptography Key classes in cert parameter in request (and linked) calls. I would like to use PKCS11 card for client authentication with your great library, but I am stuck with the need for key files. WIth the requested classes extensibility of the key support can be open for others to exp...
[ "As described in the template, Requests is not accepting feature requests" ]
closed
not_planned
true
2024-03-24T10:48:49
2024-03-24T10:48:58
2024-03-24T10:48:58
0
2024-03
[ "Feature Request", "actions/autoclose-feat" ]
feature_request
1
1
true
false
0
0
user_0434
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
false
false
16
40
true
6,671
https://github.com/psf/requests/issues/6671
[AttributeError]: Module 'collections' has no attribute 'MutableMapping'
## Expected Result Should not result this error and run flask server successfully or at-least suggest upgrading or downgrading any dependency if that's the issue (using pipdeptree currently). ## Actual Result ```bash Traceback (most recent call last): File "/Volumes/GopalSSD/EC/quillbook/server/upload_image.p...
## Expected Result Should not result this error and run flask server successfully or at-least suggest upgrading or downgrading any dependency if that's the issue (using pipdeptree currently). ## Actual Result [CODE] ## Reproduction Steps ### Create upload_image.py flask server .py file [CODE] ### Once ...
[AttributeError]: Module 'collections' has no attribute 'MutableMapping'. ## Expected Result Should not result this error and run flask server successfully or at-least suggest upgrading or downgrading any dependency if that's the issue (using pipdeptree currently). ## Actual Result [CODE] ## Reproduction St...
[ "You're using requests 2.11 which is ancient. That's why you're encountering this. Upgrade the version and it will go away" ]
closed
not_planned
true
2024-03-25T14:24:15
2024-03-25T16:13:56
2025-03-26T00:04:59
0.08
2024-03
[]
bug
1
1
true
false
1.83
0
user_0433
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
true
7
56
true
6,676
https://github.com/psf/requests/issues/6676
Error in requests version 2.31.0 with urllib3 2.2.1 and 2.10 raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
We have updated from urllib3 1.26 to urllib3 2.xx and now we have same requests with this error. lib/python3.10/site-packages/urllib3/response.py", line 833, in _raw_read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) urllib3.exceptions.IncompleteRead: IncompleteRead(119510 bytes read, -59755 more e...
We have updated from urllib3 1.26 to urllib3 2.xx and now we have same requests with this error. lib/python3.10/site-packages/urllib3/response.py", line 833, in _raw_read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) urllib3.exceptions.IncompleteRead: IncompleteRead(119510 bytes read, -59755 more e...
Error in requests version 2.31.0 with urllib3 2.2.1 and 2.10 raise IncompleteRead(self._fp_bytes_read, self.length_remaining). We have updated from urllib3 1.26 to urllib3 2.xx and now we have same requests with this error. lib/python3.10/site-packages/urllib3/response.py", line 833, in _raw_read raise IncompleteRead...
[ "I have installed an empty enviroment with conda and requests:\n\npython 3.12.2\nrequests 2.31.0\nurllib3 1.26.18\n\nAnd we have no errors, when I install urllib3 2.1.0, the program crashes, Below is a simple test program that crashes.\n\npython 3.12.2\nrequests 2.31.0\nurllib3 2.1.0\n\n```\nimport requests\nfrom i...
closed
not_planned
true
2024-04-01T09:00:04
2024-04-01T22:35:40
2025-04-02T00:04:42
0.57
2024-04
[ "Needs Info", "Needs More Information", "dependencies" ]
bug
2
2
true
false
13.59
0
user_0247
NONE
[ "user_0247", "user_0028" ]
[ "NONE", "CONTRIBUTOR" ]
[ true, false ]
false
false
13
72
true
6,679
https://github.com/psf/requests/issues/6679
pytest.warns(None) is no longer supported
Not sure what was this code supposed to mean (making sure that there are no warnings? I don't think it ever did that?), but on pytest 8 it no longer works: "TypeError: exceptions must be derived from Warning, not <class 'NoneType'>" [URL]
Not sure what was this code supposed to mean (making sure that there are no warnings? I don't think it ever did that?), but on pytest 8 it no longer works: "TypeError: exceptions must be derived from Warning, not <class 'NoneType'>" [URL]
pytest.warns(None) is no longer supported. Not sure what was this code supposed to mean (making sure that there are no warnings? I don't think it ever did that?), but on pytest 8 it no longer works: "TypeError: exceptions must be derived from Warning, not <class 'NoneType'>" [URL]
[ "From the pytest's changelog:\n\n> #8645: pytest.warns(None) is now deprecated because many people used it to mean “this code does not emit warnings”, but it actually had the effect of checking that the code emits at least one warning of any type - like pytest.warns() or pytest.warns(Warning).", "And this is the ...
closed
completed
true
2024-04-07T12:16:58
2024-04-11T19:49:36
2025-04-12T00:04:40
4.31
2024-04
[]
feature_request
4
4
true
false
91.91
1
user_0432
NONE
[ "user_0047", "user_0047", "user_0047", "user_0047" ]
[ "CONTRIBUTOR", "CONTRIBUTOR", "CONTRIBUTOR", "CONTRIBUTOR" ]
[ false, false, false, false ]
false
false
5
42
true
6,681
https://github.com/psf/requests/issues/6681
what if someone sets both data and files when making a request?
from the [docs]([URL] **data** – (optional) Dictionary, list of tuples, bytes, or file-like object to send in the body of the [Request]([URL] **files** – (optional) Dictionary of 'name': file-like-objects (or {'name': file-tuple}) for multipart encoding upload. file-tuple can be a 2-tuple ('filename', fileobj), 3-tup...
from the [docs]([URL] **data** – (optional) Dictionary, list of tuples, bytes, or file-like object to send in the body of the [Request]([URL] **files** – (optional) Dictionary of 'name': file-like-objects (or {'name': file-tuple}) for multipart encoding upload. file-tuple can be a 2-tuple ('filename', fileobj), 3-tup...
what if someone sets both data and files when making a request?. from the [docs]([URL] **data** – (optional) Dictionary, list of tuples, bytes, or file-like object to send in the body of the [Request]([URL] **files** – (optional) Dictionary of 'name': file-like-objects (or {'name': file-tuple}) for multipart encoding...
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-04-10T16:28:16
2024-04-10T16:28:26
2024-04-10T16:28:27
0
2024-04
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0431
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
false
false
12
97
true
6,683
https://github.com/psf/requests/issues/6683
raise_for_status documentation is out of sync
Not a bug per se, more like a discrepancy between documentation and actual behaviour. ## Expected Result The [documentation]([URL] says `response.raise_for_status()` should return the response for chaining in trivial use cases. ![Screenshot from 2024-04-14 11-19-57]([URL] ## Actual Result The code in the latest v...
Not a bug per se, more like a discrepancy between documentation and actual behaviour. ## Expected Result The [documentation]([URL] says `response.raise_for_status()` should return the response for chaining in trivial use cases. ![Screenshot from 2024-04-14 11-19-57]([URL] ## Actual Result The code in the latest v...
raise_for_status documentation is out of sync. Not a bug per se, more like a discrepancy between documentation and actual behaviour. ## Expected Result The [documentation]([URL] says `response.raise_for_status()` should return the response for chaining in trivial use cases. ![Screenshot from 2024-04-14 11-19-57]([U...
[ "Hi @[USER], thanks for raising this. I responded in a comment here in [your PR]([URL] If you can provide examples from the official docs hosted on readthedocs, we'd be happy to fix this, but from what I can see currently, this never existed in the Requests documentation. What you provided above is an unmaintained ...
closed
completed
true
2024-04-14T09:24:00
2024-04-15T20:35:18
2025-04-16T00:04:53
1.47
2024-04
[ "Propose Close" ]
documentation
4
4
true
true
31.78
0
user_0246
NONE
[ "user_0007", "user_0028", "user_0246", "user_0007" ]
[ "MEMBER", "CONTRIBUTOR", "NONE", "MEMBER" ]
[ false, false, true, false ]
true
false
6
58
true
6,686
https://github.com/psf/requests/issues/6686
Issue With Decimals In JSON Handling
Issue In Handling Decimal in JSON when simplejson package is not installed ## Expected Result When There is a Decimal in JSON data it should be handled without an error ``` import requests from decimal import Decimal data = { 'key': Decimal('0.0') } print(requests.post('[URL] json=data)) ``` It should send the requ...
Issue In Handling Decimal in JSON when simplejson package is not installed ## Expected Result When There is a Decimal in JSON data it should be handled without an error [CODE] It should send the request without an issue ## Actual Result When installing the requests Package [CODE] and running this script [CODE] ...
Issue With Decimals In JSON Handling. Issue In Handling Decimal in JSON when simplejson package is not installed ## Expected Result When There is a Decimal in JSON data it should be handled without an error [CODE] It should send the request without an issue ## Actual Result When installing the requests Package [CO...
[ "I was able to reproduce this on Mac OS. System information:\n\n```\n{\n \"chardet\": {\n \"version\": null\n },\n \"charset_normalizer\": {\n \"version\": \"3.3.1\"\n },\n \"cryptography\": {\n \"version\": \"\"\n },\n \"idna\": {\n \"version\": \"3.4\"\n },\n \"implementation\": {\n \"name\": \"CPython\",\n \"ver...
closed
not_planned
true
2024-04-15T09:42:03
2024-04-15T10:31:35
2025-04-16T00:04:54
0.03
2024-04
[]
bug
3
3
true
false
0.15
3
user_0430
NONE
[ "user_0244", "user_0245", "user_0028" ]
[ "NONE", "NONE", "CONTRIBUTOR" ]
[ false, false, false ]
true
false
6
114
true
6,689
https://github.com/psf/requests/issues/6689
Python hangs on import of the package
I have a Linux server (Ubuntu 22.04.3 LTS x86_64 GNU/Linux), where I have installed virtual environments. Two of them are having problems on importation of the requests package. 1. Environment python3=3.10.12, requests=2.25.1 : ``` $ python3 -v ... >>> import requests # /usr/lib/python3/dist-packages/requests/__pycac...
I have a Linux server (Ubuntu 22.04.3 LTS x86_64 GNU/Linux), where I have installed virtual environments. Two of them are having problems on importation of the requests package. 1. Environment python3=3.10.12, requests=2.25.1 : [CODE] and hangs just here. 2. Environment: python3=3.10.12, requests=2.31.0: gives th...
Python hangs on import of the package. I have a Linux server (Ubuntu 22.04.3 LTS x86_64 GNU/Linux), where I have installed virtual environments. Two of them are having problems on importation of the requests package. 1. Environment python3=3.10.12, requests=2.25.1 : [CODE] and hangs just here. 2. Environment: pyt...
[ "Towards the end of your paste\n\n```\n# /home/server/__pycache__/socks.cpython-310.pyc matches /home/server/socks.py\n# code object from '/home/server/__pycache__/socks.cpython-310.pyc\n```\n\nSo you've broken your python path probably and have files shadowing names that you must not shadow. This is not a bug in R...
closed
not_planned
true
2024-04-25T22:17:19
2024-04-25T23:22:27
2025-04-26T00:04:46
0.05
2024-04
[]
bug
1
1
true
false
1.08
0
user_0429
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
7
78
true
6,690
https://github.com/psf/requests/issues/6690
Upgrade idna to 3.7 for CVE-2024-3651
Now that idna released [3.7]([URL] can you consider bump the requires to `idna>=3.7,<4`? ## Expected Result Get rid of [CVE-2024-3651]([URL] ## Actual Result SAST analysis shows [CVE-2024-3651]([URL] ## Reproduction Steps n/a ## System Information n/a
Now that idna released [3.7]([URL] can you consider bump the requires to `idna>=3.7,<4`? ## Expected Result Get rid of [CVE-2024-3651]([URL] ## Actual Result SAST analysis shows [CVE-2024-3651]([URL] ## Reproduction Steps n/a ## System Information n/a
Upgrade idna to 3.7 for CVE-2024-3651. Now that idna released [3.7]([URL] can you consider bump the requires to `idna>=3.7,<4`? ## Expected Result Get rid of [CVE-2024-3651]([URL] ## Actual Result SAST analysis shows [CVE-2024-3651]([URL] ## Reproduction Steps n/a ## System Information n/a
[ "Use a better SAST. \n\nThe [requirement]([URL] does not forbid you using 3.7. If you aren't also managing your transitive dependency versions a reinstall of requests should pull this unless you have something else blocking you from using that version." ]
closed
not_planned
true
2024-04-26T13:20:01
2024-04-26T14:05:34
2025-04-27T00:05:23
0.03
2024-04
[]
security
1
1
true
false
0.76
0
user_0428
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
false
false
6
35
true
6,691
https://github.com/psf/requests/issues/6691
not support HTTP2 header
not support http2 header example: ``` import requests from hyper.contrib import HTTP20Adapter headers={':path': '/hello}' s = requests.Session() s.mount('[URL] HTTP20Adapter()) r = s.get('[URL] headers=headers) print(r.status_code) # raise Invalid leading whitespace, reserved character(s), or return character(s) in...
not support http2 header example: [CODE]
not support HTTP2 header. not support http2 header example: [CODE]
[ "This is a duplicate" ]
closed
not_planned
true
2024-04-26T17:22:27
2024-04-26T19:55:14
2024-04-26T19:55:17
0.11
2024-04
[]
feature_request
1
1
true
false
2.55
0
user_0427
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
4
6
true
6,692
https://github.com/psf/requests/issues/6692
requests.request does not check method parameter
``` res = requests.request(method='155661', url='https...') ``` doesn't raise any error (warning) for totally unreasonable value for **method** parameter. It leads to bugs.
[CODE] doesn't raise any error (warning) for totally unreasonable value for **method** parameter. It leads to bugs.
requests.request does not check method parameter. [CODE] doesn't raise any error (warning) for totally unreasonable value for **method** parameter. It leads to bugs.
[ "Hi @[USER], this is intentional design. There are many verbs we do not support directly, but may be used such as WebDAV. We don't intend to enumerate all possible options in our library, so it is left to the end user to determine their needs.\n\nYou'll find you can successfully send your request to well-functionin...
closed
not_planned
true
2024-04-30T16:15:10
2024-05-01T01:43:53
2025-05-02T00:04:51
0.39
2024-04
[ "Propose Close" ]
bug
1
1
true
true
1.49
0
user_0426
NONE
[ "user_0007" ]
[ "MEMBER" ]
[ false ]
true
false
6
17
true
6,694
https://github.com/psf/requests/issues/6694
Support usage of PKCS#11 Hardware Security Modules where applicable
Although "requests is not accepting feature requests at this time" I can't find any other way/place to pen a discussion about this. In the application I am working on, we'd like to add support for using HSMs in the future. It's not obvious how to do that effectively, however, unless support for it is included in `requ...
Although "requests is not accepting feature requests at this time" I can't find any other way/place to pen a discussion about this. In the application I am working on, we'd like to add support for using HSMs in the future. It's not obvious how to do that effectively, however, unless support for it is included in `requ...
Support usage of PKCS#11 Hardware Security Modules where applicable. Although "requests is not accepting feature requests at this time" I can't find any other way/place to pen a discussion about this. In the application I am working on, we'd like to add support for using HSMs in the future. It's not obvious how to do ...
[ "As described in the template, Requests is not accepting feature requests" ]
closed
not_planned
true
2024-05-06T21:23:49
2024-05-06T21:24:01
2024-05-06T21:24:01
0
2024-05
[ "Feature Request", "actions/autoclose-feat" ]
feature_request
1
1
true
false
0
0
user_0425
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
false
false
9
68
true
6,695
https://github.com/psf/requests/issues/6695
Session.verify ignored if REQUEST_CA_BUNDLES is set; behaviour not documented.
## Summary Session-level CA overrides are ignored if either `REQUEST_CA_BUNDLES` or `CURL_CA_BUNDLES` is set. This is unintuitive as you'd expect a per-session override to take precedence over global state. It's also not mentioned in [the documentation]([URL] ### Repro The following script normally outputs '200', b...
## Summary Session-level CA overrides are ignored if either `REQUEST_CA_BUNDLES` or `CURL_CA_BUNDLES` is set. This is unintuitive as you'd expect a per-session override to take precedence over global state. It's also not mentioned in [the documentation]([URL] ### Repro The following script normally outputs '200', b...
Session.verify ignored if REQUEST_CA_BUNDLES is set; behaviour not documented.. ## Summary Session-level CA overrides are ignored if either `REQUEST_CA_BUNDLES` or `CURL_CA_BUNDLES` is set. This is unintuitive as you'd expect a per-session override to take precedence over global state. It's also not mentioned in [the...
[ "Additional note for anyone affected: setting `session.trust_env = False` works around this issue by disregarding the environment variables. However, this will also disable detection of any proxies declared in the environment.", "Duplicate of #3829", "In the future, please search **closed and** open issues befo...
closed
not_planned
true
2024-05-08T10:34:33
2024-05-08T12:53:34
2025-05-09T00:04:48
0.1
2024-05
[]
feature_request
4
4
true
false
2.31
0
user_0243
NONE
[ "user_0243", "user_0028", "user_0028", "user_0243" ]
[ "NONE", "CONTRIBUTOR", "CONTRIBUTOR", "NONE" ]
[ true, false, false, true ]
true
false
9
335
true
6,697
https://github.com/psf/requests/issues/6697
Can't access trailers with the Request library
Requests doesn't seem to support processing [Trailer]([URL] response headers. While I know that Trailer support has been [discussed]([URL] [previously]([URL] some time has passed since then and I hope the issue can be reconsidered. The desired use case is to add Trailer header to API responses but we cannot read them...
Requests doesn't seem to support processing [Trailer]([URL] response headers. While I know that Trailer support has been [discussed]([URL] [previously]([URL] some time has passed since then and I hope the issue can be reconsidered. The desired use case is to add Trailer header to API responses but we cannot read them...
Can't access trailers with the Request library. Requests doesn't seem to support processing [Trailer]([URL] response headers. While I know that Trailer support has been [discussed]([URL] [previously]([URL] some time has passed since then and I hope the issue can be reconsidered. The desired use case is to add Trailer...
[ "Nothing has changed since that thread. We still rely on httplib and httplib (or now http.client) does not support trailers for HTTP/1.1. i suspect some other http clients may be able to support this as they are built on h11 but whether they do or don't I couldn't tell you" ]
closed
not_planned
true
2024-05-09T11:05:19
2024-05-09T12:35:09
2025-05-10T00:04:40
0.06
2024-05
[]
bug
1
1
true
false
1.5
0
user_0424
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
false
false
7
108
true
6,699
https://github.com/psf/requests/issues/6699
AttributeError: 'NoneType' object has no attribute 'setdefault' on environment proxies
AttributeError: 'NoneType' object has no attribute 'setdefault' on environment proxies It appears there is a small bug in ‎`Session.merge_environment_settings` where the proxies variable can be `None` but setdefault is called on it anyway when env_proxies are present, causing an AttributeError to be thrown: [URL]
AttributeError: 'NoneType' object has no attribute 'setdefault' on environment proxies It appears there is a small bug in ‎`Session.merge_environment_settings` where the proxies variable can be `None` but setdefault is called on it anyway when env_proxies are present, causing an AttributeError to be thrown: [URL]
AttributeError: 'NoneType' object has no attribute 'setdefault' on environment proxies. AttributeError: 'NoneType' object has no attribute 'setdefault' on environment proxies It appears there is a small bug in ‎`Session.merge_environment_settings` where the proxies variable can be `None` but setdefault is called on it...
[ "How are you encountering this? On which versions? Why did you skip the issue template?", "Hello! Apologies for not using the template above. I have included it below.\n\nAdditionally, I have unearthed more context while working on reproduction steps.\n\nIt appears that although the type hint signature in typeshe...
closed
not_planned
true
2024-05-10T00:52:17
2024-05-11T20:18:22
2025-09-10T00:04:42
1.81
2024-05
[]
bug
6
6
true
true
9.37
0
user_0242
NONE
[ "user_0028", "user_0242", "user_0007", "user_0242", "user_0242", "user_0007" ]
[ "CONTRIBUTOR", "NONE", "MEMBER", "NONE", "NONE", "MEMBER" ]
[ false, true, false, true, true, false ]
false
false
10
44
true
6,701
https://github.com/psf/requests/issues/6701
Connection problems
Hello, i´m pretty new in Python programming. I have python3 and i installed requests via pip. I cant connect to any site with .get... my code: import requests r = requests.get('[URL] timeout=20) print(r.status_code) Output: see file Output.txt [Output.txt]([URL] If i try to catch exeptions: Code: import reques...
Hello, i´m pretty new in Python programming. I have python3 and i installed requests via pip. I cant connect to any site with .get... my code: import requests r = requests.get('[URL] timeout=20) print(r.status_code) Output: see file Output.txt [Output.txt]([URL] If i try to catch exeptions: Code: import reques...
Connection problems. Hello, i´m pretty new in Python programming. I have python3 and i installed requests via pip. I cant connect to any site with .get... my code: import requests r = requests.get('[URL] timeout=20) print(r.status_code) Output: see file Output.txt [Output.txt]([URL] If i try to catch exeptions:...
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-05-14T08:55:49
2024-05-14T08:55:59
2024-05-14T08:56:00
0
2024-05
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0423
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
false
false
2
115
true
6,703
https://github.com/psf/requests/issues/6703
Request not throwing requests.exceptions.InvalidSchema on custom HTTPAdapter
Mounting a custom HTTPAdapter (e.g. for retry) using an unsupported protocol (e.g. typo) doesn't throw requests.exceptions.InvalidSchema like the default adapter?! ## Expected Result Should throw requests.exceptions.InvalidSchema ## Actual Result ``` Traceback (most recent call last): File "python\lib\site-packages...
Mounting a custom HTTPAdapter (e.g. for retry) using an unsupported protocol (e.g. typo) doesn't throw requests.exceptions.InvalidSchema like the default adapter?! ## Expected Result Should throw requests.exceptions.InvalidSchema ## Actual Result [CODE] ## Reproduction Steps [CODE] ## System Information $ p...
Request not throwing requests.exceptions.InvalidSchema on custom HTTPAdapter. Mounting a custom HTTPAdapter (e.g. for retry) using an unsupported protocol (e.g. typo) doesn't throw requests.exceptions.InvalidSchema like the default adapter?! ## Expected Result Should throw requests.exceptions.InvalidSchema ## Actual...
[ "This is one hundred percent your own fault. InvalidSchema is documented as a problem when we cannot find a suitable adapter to use for a request and adapters are found by looking at the longest prefix. You registered one with `htxp` so you then told Requests you were registering an adapter to handle that scheme. A...
closed
not_planned
true
2024-05-19T02:49:46
2024-05-19T13:52:20
2024-05-19T16:45:43
0.46
2024-05
[]
bug
3
3
true
false
11.04
0
user_0241
NONE
[ "user_0028", "user_0241", "user_0028" ]
[ "CONTRIBUTOR", "NONE", "CONTRIBUTOR" ]
[ false, true, false ]
true
true
7
42
true
6,704
https://github.com/psf/requests/issues/6704
Requests roadmap
Since the PSF took over management of 'requests' I am wondering what the road map is for this library? Is it posted anywhere? Is v3 totally dead? Is the package just in maintenance mode? I know a few years ago things were very chaotic, but being removed from those bad times, where is the package going?
Since the PSF took over management of 'requests' I am wondering what the road map is for this library? Is it posted anywhere? Is v3 totally dead? Is the package just in maintenance mode? I know a few years ago things were very chaotic, but being removed from those bad times, where is the package going?
Requests roadmap. Since the PSF took over management of 'requests' I am wondering what the road map is for this library? Is it posted anywhere? Is v3 totally dead? Is the package just in maintenance mode? I know a few years ago things were very chaotic, but being removed from those bad times, where is the package goi...
[ "It's still just Nate and me. There isn't really any more time we can commit to the project than we already do. V3 as described to raise lots of money that didn't actually end up benefitting the project is still something desirable but will never be called V3 as none of those goals are recoverable from that website...
closed
not_planned
true
2024-05-19T11:56:46
2024-05-19T18:39:01
2025-05-22T00:04:44
0.28
2024-05
[]
feature_request
5
5
true
true
1.86
0
user_0186
NONE
[ "user_0028", "user_0007", "user_0186", "user_0028", "user_0186" ]
[ "CONTRIBUTOR", "MEMBER", "NONE", "CONTRIBUTOR", "NONE" ]
[ false, false, true, false, true ]
false
false
2
56
true
6,706
https://github.com/psf/requests/issues/6706
2.32.0 sdist is missing `tests/certs`
The requests 2.32.0 sdist tarball is missing files from `tests/certs` that are required for tests to pass. ## Expected Result Passing tests. ## Actual Result ```pytb $ python -m pytest --showlocals ========================================================= test session starts ========================================...
The requests 2.32.0 sdist tarball is missing files from `tests/certs` that are required for tests to pass. ## Expected Result Passing tests. ## Actual Result [CODE] ## Reproduction Steps [CODE] ## System Information $ python -m requests.help [CODE]
2.32.0 sdist is missing `tests/certs`. The requests 2.32.0 sdist tarball is missing files from `tests/certs` that are required for tests to pass. ## Expected Result Passing tests. ## Actual Result [CODE] ## Reproduction Steps [CODE] ## System Information $ python -m requests.help [CODE]
[ "Thanks for the report @[USER]. It looks like the test files from #6662 didn't end up in the MANIFEST.in. I'll take a look at getting that fixed asap.", "Fix is staged in #6708. You can track that for resolution. Thanks again!", "This should be resolved now with the release of 2.32.1.", "Thanks!" ]
closed
completed
true
2024-05-20T19:34:05
2024-05-20T22:13:48
2025-05-22T00:04:43
0.11
2024-05
[]
other
4
4
true
true
0.22
0
user_0240
CONTRIBUTOR
[ "user_0007", "user_0007", "user_0007", "user_0240" ]
[ "MEMBER", "MEMBER", "MEMBER", "CONTRIBUTOR" ]
[ false, false, false, true ]
true
false
5
38
true
6,707
https://github.com/psf/requests/issues/6707
Requests 2.32.0 Not supported URL scheme http+docker
Newest version of requests 2.32.0 has an incompatibility with python lib `docker` ``` INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/var/lib/jenkins/workspace/Development_sm_master/gravity/.nox/lib/python3.10/site-packages/requests/adapters.py", line 532, in send INTERNALERROR> conn = self....
Newest version of requests 2.32.0 has an incompatibility with python lib `docker` [CODE] ## Expected Result Normal initalization of docker client ## Actual Result Stack trace posted above ## Reproduction Steps [CODE] [CODE] ## System Information $ python -m requests.help [CODE]
Requests 2.32.0 Not supported URL scheme http+docker. Newest version of requests 2.32.0 has an incompatibility with python lib `docker` [CODE] ## Expected Result Normal initalization of docker client ## Actual Result Stack trace posted above ## Reproduction Steps [CODE] [CODE] ## System Information ...
[ "I believe this was introduce with this line change which started enforcing the URL scheme:\n[URL]\n\nThe issue is also being tracked over in `docker-py` repo:\n[URL]", "Hi @[USER], could you clarify more about the expected functionality with a `http+docker` scheme vs calling the URI with just `http`. Is docker-p...
closed
completed
true
2024-05-20T19:36:07
2024-05-24T19:16:08
2025-06-05T00:05:03
3.99
2024-05
[]
feature_request
16
16
true
true
0.29
45
user_0237
NONE
[ "user_0235", "user_0007", "user_0007", "user_0236", "user_0237", "user_0007", "user_0238", "user_0028", "user_0236", "user_0236", "user_0007", "user_0239", "user_0007", "user_0007", "user_0185", "user_0236" ]
[ "NONE", "MEMBER", "MEMBER", "NONE", "NONE", "MEMBER", "NONE", "CONTRIBUTOR", "NONE", "NONE", "MEMBER", "NONE", "MEMBER", "MEMBER", "NONE", "NONE" ]
[ false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false ]
true
true
7
41
true
6,711
https://github.com/psf/requests/issues/6711
breaking aws s3 usage with requests 2.32.0
requests 2.32.0 introduced a change [URL] that strips double /. This has introduced an issue where generated presigned urls for s3 keys that start with a / can no longer be used. requests now strips that second / meaning that the key is modified and the signature does not match resulting in 403 errors. We can adjust ...
requests 2.32.0 introduced a change [URL] that strips double /. This has introduced an issue where generated presigned urls for s3 keys that start with a / can no longer be used. requests now strips that second / meaning that the key is modified and the signature does not match resulting in 403 errors. We can adjust ...
breaking aws s3 usage with requests 2.32.0. requests 2.32.0 introduced a change [URL] that strips double /. This has introduced an issue where generated presigned urls for s3 keys that start with a / can no longer be used. requests now strips that second / meaning that the key is modified and the signature does not m...
[ "I can second this. It's not only AWS. We just hit this problem with a completely unrelated web service that also behaves differently if the double leading slash is normalized to one.", "I believe the s3 use case is being addressed by AWS in their SDK. \n\nAs for a service that expects a URI whose path is not nor...
closed
completed
true
2024-05-21T16:04:59
2026-05-10T21:44:13
2026-05-10T21:44:13
719.24
2024-05
[]
feature_request
21
21
true
true
859.05
8
user_0422
NONE
[ "user_0230", "user_0028", "user_0230", "user_0230", "user_0028", "user_0230", "user_0231", "user_0028", "user_0231", "user_0230", "user_0028", "user_0230", "user_0231", "user_0232", "user_0233", "user_0234", "user_0231", "user_0234", "user_0234", "user_0230", "user_0007" ]
[ "NONE", "CONTRIBUTOR", "NONE", "NONE", "CONTRIBUTOR", "NONE", "NONE", "CONTRIBUTOR", "NONE", "NONE", "CONTRIBUTOR", "NONE", "NONE", "NONE", "NONE", "NONE", "NONE", "NONE", "NONE", "NONE", "MEMBER" ]
[ false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false ]
true
false
7
119
false
6,713
https://github.com/psf/requests/issues/6713
Not supported URL scheme http+docker KOLLA ANSIBLE
hello Im trying to deploy an openstack cloud using kolla ansible it was working fine until yesterday in the prechecks step an error occurs Not supported URL scheme http+docker An exception occurred during task execution. To see the full traceback, use -vvv. The error was: docker.errors.DockerException: Error while fe...
hello Im trying to deploy an openstack cloud using kolla ansible it was working fine until yesterday in the prechecks step an error occurs Not supported URL scheme http+docker An exception occurred during task execution. To see the full traceback, use -vvv. The error was: docker.errors.DockerException: Error while fe...
Not supported URL scheme http+docker KOLLA ANSIBLE. hello Im trying to deploy an openstack cloud using kolla ansible it was working fine until yesterday in the prechecks step an error occurs Not supported URL scheme http+docker An exception occurred during task execution. To see the full traceback, use -vvv. The erro...
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-05-21T20:02:52
2024-05-21T20:03:03
2024-05-21T20:03:04
0
2024-05
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0421
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
false
true
7
327
true
6,715
https://github.com/psf/requests/issues/6715
SSLV3_ALERT_HANDSHAKE_FAILURE after upgrade from 2.31.0 to 2.32.2
After upgrading to requests 2.32.* our custom SSL adapter doesn't seem to working anymore. This is how it looks like ``` class CustomSSLAdapter(HTTPAdapter): def __init__(self): self.context = ssl.create_default_context() certfile = ... keyfile = ... password = ... self.context.load_cert_chain(certfile=certfile...
After upgrading to requests 2.32.* our custom SSL adapter doesn't seem to working anymore. This is how it looks like [CODE] We have tried to mount this only for the target url but also for "[URL] The code was working find with version 2.31.0. ## Expected Result The adapter should still work. ## Actual Result We...
SSLV3_ALERT_HANDSHAKE_FAILURE after upgrade from 2.31.0 to 2.32.2. After upgrading to requests 2.32.* our custom SSL adapter doesn't seem to working anymore. This is how it looks like [CODE] We have tried to mount this only for the target url but also for "[URL] The code was working find with version 2.31.0. ## Ex...
[ "This is running on databricks using python 3.10.12.", "@[USER] this is a different side-effect of #6655. I think to enable this particular use case we need to expose a way for sub-classes to muck with the pool kwargs, something like\n\n```py\nclass HTTPAdapter(BaseAdapter):\n def build_pool_kwargs(self, request,...
closed
completed
true
2024-05-22T10:12:14
2024-05-24T21:37:07
2024-12-24T11:58:57
2.48
2024-05
[]
bug
23
23
true
true
1.39
3
user_0222
NONE
[ "user_0222", "user_0028", "user_0223", "user_0028", "user_0221", "user_0223", "user_0186", "user_0028", "user_0028", "user_0186", "user_0186", "user_0007", "user_0224", "user_0225", "user_0007", "user_0186", "user_0007", "user_0007", "user_0226", "user_0227", "user_0228", "...
[ "NONE", "CONTRIBUTOR", "NONE", "CONTRIBUTOR", "NONE", "NONE", "NONE", "CONTRIBUTOR", "CONTRIBUTOR", "NONE", "NONE", "MEMBER", "NONE", "NONE", "MEMBER", "NONE", "MEMBER", "MEMBER", "NONE", "NONE", "NONE", "NONE", "NONE" ]
[ true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false ]
true
false
7
61
true
6,717
https://github.com/psf/requests/issues/6717
SSLCertVerificationError - unable to get local issuer certificate
Version **2.32.0** introduced changes and improvements with **SSLContext** as specified in the release history: Improvements - verify=True now reuses a global SSLContext which should improve request time variance between first and subsequent requests. It should also minimize certificate load time on Windows systems wh...
Version **2.32.0** introduced changes and improvements with **SSLContext** as specified in the release history: Improvements - verify=True now reuses a global SSLContext which should improve request time variance between first and subsequent requests. It should also minimize certificate load time on Windows systems wh...
SSLCertVerificationError - unable to get local issuer certificate. Version **2.32.0** introduced changes and improvements with **SSLContext** as specified in the release history: Improvements - verify=True now reuses a global SSLContext which should improve request time variance between first and subsequent requests. ...
[ "Hi @[USER], this looks like the same root issue described in #6715. Can you take a look at the proposed patch in #6716 and let us know if the new API proposal meets your use case. From the code you provided, I would think you should be able to do this through `pool_kwargs`.\n\nI'd propose we close this as a duplic...
closed
completed
true
2024-05-22T14:29:33
2024-05-22T14:59:00
2025-05-23T00:04:55
0.02
2024-05
[]
bug
5
5
true
true
0.36
0
user_0221
NONE
[ "user_0007", "user_0028", "user_0221", "user_0007", "user_0221" ]
[ "MEMBER", "CONTRIBUTOR", "NONE", "MEMBER", "NONE" ]
[ false, false, true, false, true ]
true
false
8
175
true
6,719
https://github.com/psf/requests/issues/6719
ERROR - Cannot set verify_mode to CERT_NONE when check_hostname is enabled
I'm working with the exchangelib (v5.4) library. A couple of days ago I noticed that in the Docker container exchangelib started complaining with an error `ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled`. Exchangelib tries to connect to a local server with a low security level via a cu...
I'm working with the exchangelib (v5.4) library. A couple of days ago I noticed that in the Docker container exchangelib started complaining with an error `ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled`. Exchangelib tries to connect to a local server with a low security level via a cu...
ERROR - Cannot set verify_mode to CERT_NONE when check_hostname is enabled. I'm working with the exchangelib (v5.4) library. A couple of days ago I noticed that in the Docker container exchangelib started complaining with an error `ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled`. Excha...
[ "In the future, please search **closed and** open issues before creating new ones that are duplicates." ]
closed
not_planned
true
2024-05-23T12:06:59
2024-05-23T12:54:17
2025-05-24T00:04:40
0.03
2024-05
[]
bug
1
1
true
false
0.79
0
user_0420
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
11
86
true
6,722
https://github.com/psf/requests/issues/6722
Enhance Error Messaging for Connection Failures
When making an HTTP request using the requests library, I encountered a connection failure. The error message provided was not very clear or actionable, especially for someone new to the library. Enhancing these error messages to provide more detailed and actionable information would significantly improve the developer...
When making an HTTP request using the requests library, I encountered a connection failure. The error message provided was not very clear or actionable, especially for someone new to the library. Enhancing these error messages to provide more detailed and actionable information would significantly improve the developer...
Enhance Error Messaging for Connection Failures. When making an HTTP request using the requests library, I encountered a connection failure. The error message provided was not very clear or actionable, especially for someone new to the library. Enhancing these error messages to provide more detailed and actionable info...
[ "What extra information would you have liked in the error which you think would be actionable? Can you share some examples?", "Hi maintainers, I would like to work on this issue.\n\nI plan to enhance the ConnectionError messaging by adding clearer and more\nactionable context about why the connection failed (DNS ...
closed
not_planned
true
2024-05-25T01:06:34
2025-12-12T17:07:35
2025-12-12T17:07:35
566.67
2024-05
[]
bug
2
2
true
false
2,540.47
0
user_0419
NONE
[ "user_0220", "user_0098" ]
[ "NONE", "NONE" ]
[ false, false ]
true
false
6
145
false
6,723
https://github.com/psf/requests/issues/6723
Different default values for "allow_redirects" for HEAD http method
A HEAD request can be performed in two ways. Using the `requests.head` method or the `requests.request` method. But both have different default values for "allow_redirects". ## Expected Result Both ways of performing HEAD requests have the same default behavior. ## Actual Result `requests.head(url)` has allow_redirects...
A HEAD request can be performed in two ways. Using the `requests.head` method or the `requests.request` method. But both have different default values for "allow_redirects". ## Expected Result Both ways of performing HEAD requests have the same default behavior. ## Actual Result `requests.head(url)` has allow_redirects...
Different default values for "allow_redirects" for HEAD http method. A HEAD request can be performed in two ways. Using the `requests.head` method or the `requests.request` method. But both have different default values for "allow_redirects". ## Expected Result Both ways of performing HEAD requests have the same defaul...
[ "This is expected. The request method means you want to explicitly do things differently so you don't get the per-method behaviors otherwise defined", "@[USER] thanks! The reason i have to use `requests.request` is because there are no methods to perform TRACE and CONNECT http requests. For instance fir a GET req...
closed
completed
true
2024-05-27T21:51:37
2024-05-29T06:34:23
2025-05-30T00:05:07
1.36
2024-05
[]
feature_request
4
4
true
false
0.52
0
user_0219
NONE
[ "user_0028", "user_0219", "user_0028", "user_0219" ]
[ "CONTRIBUTOR", "NONE", "CONTRIBUTOR", "NONE" ]
[ false, true, false, true ]
true
false
9
67
true
6,726
https://github.com/psf/requests/issues/6726
Multiple concurrent client certs broken with v2.32.3
We use `requests` with multiple mTLS client certificates - each certificate is signed by the same CA, but they have different subjects - each subject has different permissions. Each distinct client cert is used by a different `requests.Session` Additionally, we make use of `ThreadPoolExecutor` to make many requests in ...
We use `requests` with multiple mTLS client certificates - each certificate is signed by the same CA, but they have different subjects - each subject has different permissions. Each distinct client cert is used by a different `requests.Session` Additionally, we make use of `ThreadPoolExecutor` to make many requests in ...
Multiple concurrent client certs broken with v2.32.3. We use `requests` with multiple mTLS client certificates - each certificate is signed by the same CA, but they have different subjects - each subject has different permissions. Each distinct client cert is used by a different `requests.Session` Additionally, we make...
[ "Thanks for the report, @[USER]. It does looks like we're not checking the certs provided by the Session before opting into the default context, I've put together fe251aa94b2b7849e224e455c0aad0df53ad3d8e to disable the default context when certs are present.\n\nHowever, with testing I'm seeing an exception with the...
closed
completed
true
2024-05-29T19:20:08
2026-02-13T03:01:47
2026-02-13T03:01:48
624.32
2024-05
[]
bug
10
10
true
true
1.14
3
user_0213
NONE
[ "user_0007", "user_0213", "user_0028", "user_0007", "user_0214", "user_0215", "user_0216", "user_0217", "user_0218", "user_0007" ]
[ "MEMBER", "NONE", "CONTRIBUTOR", "MEMBER", "NONE", "NONE", "NONE", "NONE", "NONE", "MEMBER" ]
[ false, true, false, false, false, false, false, false, false, false ]
true
false
7
195
false
6,728
https://github.com/psf/requests/issues/6728
ssl certificate validation of requests was ignored but the ssl certificate still reported an error
## Problem recurrence Please refer to our [Stack Overflow tag]([URL] for guidance. Testing on different operating systems, I found it was Caused by SSLError(SSLError(1, '[SSL:) caused by SSLerror (SSLError(1, '[SSL:) SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1006)')) error, but I did not have...
## Problem recurrence Please refer to our [Stack Overflow tag]([URL] for guidance. Testing on different operating systems, I found it was Caused by SSLError(SSLError(1, '[SSL:) caused by SSLerror (SSLError(1, '[SSL:) SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1006)')) error, but I did not have...
ssl certificate validation of requests was ignored but the ssl certificate still reported an error. ## Problem recurrence Please refer to our [Stack Overflow tag]([URL] for guidance. Testing on different operating systems, I found it was Caused by SSLError(SSLError(1, '[SSL:) caused by SSLerror (SSLError(1, '[SSL:) SSL...
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-05-31T06:00:18
2024-05-31T06:00:28
2024-05-31T06:00:29
0
2024-05
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0418
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
true
false
15
124
true
6,729
https://github.com/psf/requests/issues/6729
ssl certificate validation of requests was ignored but the ssl certificate still reported an error
## Expected Result Testing on different operating systems, I found it was Caused by SSLError(SSLError(1, '[SSL:) caused by SSLerror (SSLError(1, '[SSL:) SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1006)')) error, but I did not have a validation problem during one of the validations ![image]([U...
## Expected Result Testing on different operating systems, I found it was Caused by SSLError(SSLError(1, '[SSL:) caused by SSLerror (SSLError(1, '[SSL:) SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1006)')) error, but I did not have a validation problem during one of the validations ![image]([U...
ssl certificate validation of requests was ignored but the ssl certificate still reported an error. ## Expected Result Testing on different operating systems, I found it was Caused by SSLError(SSLError(1, '[SSL:) caused by SSLerror (SSLError(1, '[SSL:) SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl...
[ "Duplicate of #6728", "Please copy and paste text, do not use screenshots as they are:\n\n* Not searchable\n* Not accessible to those who need to rely on screen readers or have issues with their vision\n\n---\n\nAs to your actual error, just because you disable TLS Verification, does not mean that the rest of how...
closed
completed
true
2024-05-31T06:09:53
2024-05-31T11:16:00
2024-05-31T11:16:29
0.21
2024-05
[ "actions/autoclose-qa" ]
question
2
2
true
false
5.06
0
user_0418
NONE
[ "user_0028", "user_0028" ]
[ "CONTRIBUTOR", "CONTRIBUTOR" ]
[ false, false ]
true
false
15
105
true
6,730
https://github.com/psf/requests/issues/6730
Certificate loading regression with HTTPAdapters in 2.32.3
It appears that in version `2.32.3` default certificates are no longer loaded for custom `HTTPAdapter` contexts when they were previously. I guess this might be a duplicate/related to [URL] Also related to [URL] - adding `load_default_certs()` resolves the issue, but this wasn't required in previous versions and thus ...
It appears that in version `2.32.3` default certificates are no longer loaded for custom `HTTPAdapter` contexts when they were previously. I guess this might be a duplicate/related to [URL] Also related to [URL] - adding `load_default_certs()` resolves the issue, but this wasn't required in previous versions and thus ...
Certificate loading regression with HTTPAdapters in 2.32.3. It appears that in version `2.32.3` default certificates are no longer loaded for custom `HTTPAdapter` contexts when they were previously. I guess this might be a duplicate/related to [URL] Also related to [URL] - adding `load_default_certs()` resolves the is...
[ "This issue appears to be leading to widespread breakage. Have you considered yanking the release? It's personally cost me a good deal of time troubleshooting, distilling, and reporting the issue in httpie/cli#1581, to the point that users are suggesting to move away from requests (feels drastic, admittedly). Would...
closed
completed
true
2024-05-31T10:26:46
2025-09-30T15:06:54
2026-10-01T00:09:23
487.19
2024-05
[]
bug
5
5
true
true
898.42
17
user_0417
NONE
[ "user_0210", "user_0007", "user_0211", "user_0212", "user_0028" ]
[ "CONTRIBUTOR", "MEMBER", "NONE", "NONE", "CONTRIBUTOR" ]
[ false, false, false, false, false ]
true
false
7
92
true
6,733
https://github.com/psf/requests/issues/6733
Deprecated `HTTPAdapter.get_connection()` method is never called, causing breakage without deprecation warnings
After upgrading several of certbot's packages, including `requests` to 2.32.3, we suddenly started experiencing confusing DNS resolution errors with no clear cause. Only after bisecting the changed packages and isolating `requests` as the source of the trouble did we see that 2.32.2 deprecated the `HTTPAdapter.get_conn...
After upgrading several of certbot's packages, including `requests` to 2.32.3, we suddenly started experiencing confusing DNS resolution errors with no clear cause. Only after bisecting the changed packages and isolating `requests` as the source of the trouble did we see that 2.32.2 deprecated the `HTTPAdapter.get_conn...
Deprecated `HTTPAdapter.get_connection()` method is never called, causing breakage without deprecation warnings. After upgrading several of certbot's packages, including `requests` to 2.32.3, we suddenly started experiencing confusing DNS resolution errors with no clear cause. Only after bisecting the changed packages ...
[ "Hi @[USER], the commit you linked appears to be part way through the issue. #6710 was to provide a public API for users who were overriding `get_connection`. The initial breakage came from #6655 to address CVE-2024-35195.\n\nWhile we don't generally make breaking changes in minor patch versions, users were unknowi...
closed
completed
true
2024-06-04T01:04:34
2024-06-06T15:56:32
2025-06-07T00:05:01
2.62
2024-06
[]
bug
2
2
true
true
3.19
0
user_0416
NONE
[ "user_0007", "user_0007" ]
[ "MEMBER", "MEMBER" ]
[ false, false ]
false
false
11
170
true
6,734
https://github.com/psf/requests/issues/6734
requests 2.32.3 & urllib3 1.26.18 issue with unicode put
I'm building requests 2.32.3 in Fedora Linux and I have a problem with `test_unicode_header_name` - the test hangs. It's reproducible - when I use urllib3 at least 2.0.2, the code works fine, with urllib3 1.26.18, it hangs waiting for a response. ## Expected Result Older urllib3 is still allowed (`urllib3>=1.21.1,<3...
I'm building requests 2.32.3 in Fedora Linux and I have a problem with `test_unicode_header_name` - the test hangs. It's reproducible - when I use urllib3 at least 2.0.2, the code works fine, with urllib3 1.26.18, it hangs waiting for a response. ## Expected Result Older urllib3 is still allowed (`urllib3>=1.21.1,<3...
requests 2.32.3 & urllib3 1.26.18 issue with unicode put. I'm building requests 2.32.3 in Fedora Linux and I have a problem with `test_unicode_header_name` - the test hangs. It's reproducible - when I use urllib3 at least 2.0.2, the code works fine, with urllib3 1.26.18, it hangs waiting for a response. ## Expected R...
[ "Thanks for reporting this, @[USER]! I'd thought we had a standalone GHA to still test on \"urllib3<2\" but that's for a separate project. I'll work on getting that added to ensure we don't have regressions.\n\nWe'll need to take a closer look at what's happening but I have a feeling this may be a byproduct of #658...
open
null
false
2024-06-04T10:23:23
null
2024-07-02T01:23:12
null
2024-06
[]
bug
5
5
true
true
10.1
0
user_0047
CONTRIBUTOR
[ "user_0007", "user_0047", "user_0208", "user_0209", "user_0007" ]
[ "MEMBER", "CONTRIBUTOR", "NONE", "CONTRIBUTOR", "MEMBER" ]
[ false, true, false, false, false ]
true
true
9
88
false
6,735
https://github.com/psf/requests/issues/6735
requests 2.32.3 with IPv6 link local address fails with error: [Errno -2] Name or service not known
When using an IPv6 link local address with requests > v2.31.0, seeing an error `[Errno -2] Name or service not known`. The same works with requests 2.31.0. urllib3 2.2.1 also works successfully with IPv6 link local address . ### urllib3 2.2.1 with IPv6 link local address ``` >>> import urllib3 >>> http = urllib3.PoolM...
When using an IPv6 link local address with requests > v2.31.0, seeing an error `[Errno -2] Name or service not known`. The same works with requests 2.31.0. urllib3 2.2.1 also works successfully with IPv6 link local address . ### urllib3 2.2.1 with IPv6 link local address [CODE] ### requests 2.31.0 with IPv6 link lo...
requests 2.32.3 with IPv6 link local address fails with error: [Errno -2] Name or service not known. When using an IPv6 link local address with requests > v2.31.0, seeing an error `[Errno -2] Name or service not known`. The same works with requests 2.31.0. urllib3 2.2.1 also works successfully with IPv6 link local addr...
[ "I worked around the bug with:\n```\n# Workaround for bug in requests 2.32.x: [URL]\ndef requests_workaround(method, url, json, headers, auth, verify=False):\n # Create a session\n session=requests.Session()\n\n # Prepare the request\n request=requests.Request(method, url, json=json, headers=headers, auth=auth)\n p...
open
null
false
2024-06-06T18:29:52
null
2026-05-13T18:00:41
null
2024-06
[]
bug
13
13
true
false
494.37
3
user_0415
NONE
[ "user_0203", "user_0204", "user_0205", "user_0047", "user_0204", "user_0047", "user_0204", "user_0047", "user_0205", "user_0205", "user_0206", "user_0207", "user_0175" ]
[ "NONE", "NONE", "NONE", "CONTRIBUTOR", "NONE", "CONTRIBUTOR", "NONE", "CONTRIBUTOR", "NONE", "NONE", "NONE", "NONE", "NONE" ]
[ false, false, false, false, false, false, false, false, false, false, false, false, false ]
true
true
17
80
false
6,736
https://github.com/psf/requests/issues/6736
2.32.3 does not load system CA certificates when using an Adapter
Given this snippet: ```py from requests.adapters import HTTPAdapter from requests import Session from urllib3 import PoolManager from urllib3 import ProxyManager from urllib3.util.ssl_ import create_urllib3_context class AFIPAdapter(HTTPAdapter): """An adapter with reduced security so it'll work with AFIP.""" def ...
Given this snippet: [CODE] On `requests==2.31.0`, this works fine (e.g.: system CAs are loaded by default). As of `2.32.2`, the system CAs are no longer loaded by default, and the commented `context.load_default_certs()` lines need to be included too. ## Expected Result Above snippet should work; system CAs shou...
2.32.3 does not load system CA certificates when using an Adapter. Given this snippet: [CODE] On `requests==2.31.0`, this works fine (e.g.: system CAs are loaded by default). As of `2.32.2`, the system CAs are no longer loaded by default, and the commented `context.load_default_certs()` lines need to be included t...
[ "Hi @[USER], I think this is a duplicate of #6730 which was opened after your original comment. We'll track progress there.", "Sorry, forgot to double-check.", "@[USER] did you solve it ? I'm struggling with the same\n\n```\nurllib3 = \"^1.26.14\"\nfintech = \"^7.5.1\"\npyopenssl = \"^22.0.0\"\ncryptography = \...
closed
completed
true
2024-06-07T11:08:47
2024-06-07T16:04:37
2025-07-05T00:04:42
0.21
2024-06
[]
bug
5
5
true
true
4.93
0
user_0201
CONTRIBUTOR
[ "user_0007", "user_0201", "user_0202", "user_0201", "user_0202" ]
[ "MEMBER", "CONTRIBUTOR", "NONE", "CONTRIBUTOR", "NONE" ]
[ false, true, false, true, false ]
true
false
11
70
true
6,737
https://github.com/psf/requests/issues/6737
GET请求,我希望传递% 但是requests会默认帮我编码为%25,如何解决?
Please refer to our [Stack Overflow tag]([URL] for guidance. GET请求,我希望传递% 但是requests会默认帮我编码为%25,如何解决?
Please refer to our [Stack Overflow tag]([URL] for guidance. GET请求,我希望传递% 但是requests会默认帮我编码为%25,如何解决?
GET请求,我希望传递% 但是requests会默认帮我编码为%25,如何解决?. Please refer to our [Stack Overflow tag]([URL] for guidance. GET请求,我希望传递% 但是requests会默认帮我编码为%25,如何解决?
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-06-11T16:56:06
2024-06-11T16:56:19
2024-06-11T16:56:20
0
2024-06
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0414
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
false
false
2
11
true
6,738
https://github.com/psf/requests/issues/6738
requests.utils. atomic_open does not respect umask
Create a new file using requests.utils. atomic_open with umask set to 0o000 ## Expected Result 0o777 ## Actual Result 0o600 ## Reproduction Steps ```python import os import requests.utils os.umask(0o000) with requests.utils.atomic_open('example.txt') as f: f.write(b'Hello, world!') file_stat = os.stat('example...
Create a new file using requests.utils. atomic_open with umask set to 0o000 ## Expected Result 0o777 ## Actual Result 0o600 ## Reproduction Steps [CODE] ## System Information $ python -m requests.help [CODE]
requests.utils. atomic_open does not respect umask. Create a new file using requests.utils. atomic_open with umask set to 0o000 ## Expected Result 0o777 ## Actual Result 0o600 ## Reproduction Steps [CODE] ## System Information $ python -m requests.help [CODE]
[ "atomic_open is not intended for public consumption. Even still, the sole purpose of it in requests is to extract a CA truststore file from a zip (where necessary) and place it in a given location. In that case, regardless of what one might expect from umask, it's for the user's protection (and this desirable) that...
closed
completed
true
2024-06-12T03:13:01
2026-02-13T03:09:35
2026-02-13T03:09:35
611
2024-06
[ "Feature Request", "Question/Not a bug" ]
question
3
3
true
true
7.82
0
user_0413
NONE
[ "user_0028", "user_0200", "user_0007" ]
[ "CONTRIBUTOR", "NONE", "MEMBER" ]
[ false, false, false ]
true
false
6
32
false
6,740
https://github.com/psf/requests/issues/6740
Feature Request: `safe_json()` Method for Requests Library
# Description I would like to propose the addition of a `safe_json()` method to the `requests.Response` object. This method would attempt to return the response content as JSON if it is JSON. If the response content is not JSON, it would return the text content. If the response content is neither JSON nor text, it woul...
# Description I would like to propose the addition of a `safe_json()` method to the `requests.Response` object. This method would attempt to return the response content as JSON if it is JSON. If the response content is not JSON, it would return the text content. If the response content is neither JSON nor text, it woul...
Feature Request: `safe_json()` Method for Requests Library. # Description I would like to propose the addition of a `safe_json()` method to the `requests.Response` object. This method would attempt to return the response content as JSON if it is JSON. If the response content is not JSON, it would return the text conten...
[ "As described in the template, Requests is not accepting feature requests" ]
closed
not_planned
true
2024-06-12T23:14:29
2024-06-12T23:14:38
2024-06-12T23:14:39
0
2024-06
[ "Feature Request", "actions/autoclose-feat" ]
feature_request
1
1
true
false
0
0
user_0412
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
true
false
7
194
true
6,741
https://github.com/psf/requests/issues/6741
auth headers lost when requests process redirected requests
auth headers lost when requests process redirected requests ```python def print_request_info(response, *args, **kwargs): request = response.request print(f"Request URL: {request.url}") print(f"Request Headers: {request.headers}") print(f"Request Data: {request.body}") print(f"Response Status Code: {response.status...
auth headers lost when requests process redirected requests [CODE] ## Expected Result request headers [CODE] Response Status Code: 307 redirected headers [CODE] ## Actual Result redirected headers contains `Authorization` ## Reproduction Steps [CODE] ## System Information $ python -m requests.help [CO...
auth headers lost when requests process redirected requests. auth headers lost when requests process redirected requests [CODE] ## Expected Result request headers [CODE] Response Status Code: 307 redirected headers [CODE] ## Actual Result redirected headers contains `Authorization` ## Reproduction Steps [CO...
[ "Hi @[USER], this is intended behavior. Requests will not forward potentially sensitive auth tokens to redirected hosts. This is to prevent leaking auth information to unintended endpoints. The best course of action in this case is to fix the URI provided to Requests to prevent redirection." ]
closed
not_planned
true
2024-06-13T02:38:08
2024-06-13T10:21:03
2025-06-14T00:04:52
0.32
2024-06
[]
feature_request
1
1
true
true
0.08
0
user_0411
NONE
[ "user_0007" ]
[ "MEMBER" ]
[ false ]
true
false
8
41
true
6,742
https://github.com/psf/requests/issues/6742
inconsistent handling of verify and REQUESTS_CA_BUNDLE
The interaction between the `verify` parameter and REQUESTS_CA_BUNDLE is inconsistent when using a `Session`. Assuming the REQUESTS_CA_BUNDLE environment variable is set. will NOT result in ssl verification: ``` sess = requests.Session() sess.get("[URL] verify=False) ``` will verify the ssl verification: ``` sess = ...
The interaction between the `verify` parameter and REQUESTS_CA_BUNDLE is inconsistent when using a `Session`. Assuming the REQUESTS_CA_BUNDLE environment variable is set. will NOT result in ssl verification: [CODE] will verify the ssl verification: [CODE] ## Expected Result I would expect both scenario's not to...
inconsistent handling of verify and REQUESTS_CA_BUNDLE. The interaction between the `verify` parameter and REQUESTS_CA_BUNDLE is inconsistent when using a `Session`. Assuming the REQUESTS_CA_BUNDLE environment variable is set. will NOT result in ssl verification: [CODE] will verify the ssl verification: [CODE] ...
[ "In the future, please search **closed and** open issues before creating new ones that are duplicates." ]
closed
completed
true
2024-06-13T12:17:23
2024-06-13T13:36:10
2025-06-14T00:04:51
0.05
2024-06
[]
feature_request
1
1
true
false
1.31
0
user_0410
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
6
87
true
6,743
https://github.com/psf/requests/issues/6743
requests library seems to ignore "Transfer-Encoding" header
I want to send a request with "Transfer-Encoding:chunked" but somehow the header is never set. Below is my code for testing and the corresponding captured request. ``` import requests url = '[URL] def data_chunks(): yield b'8\r\n' yield b'search=1\r\n' yield b'0\r\n' response = requests.post(url,data=data_chunks(...
I want to send a request with "Transfer-Encoding:chunked" but somehow the header is never set. Below is my code for testing and the corresponding captured request. [CODE] > POST /test.php HTTP/1.1 > Host: [replaced] > User-Agent: python-requests/2.28.1 > Accept-Encoding: gzip, deflate > Accept: */* > Connection: clo...
requests library seems to ignore "Transfer-Encoding" header. I want to send a request with "Transfer-Encoding:chunked" but somehow the header is never set. Below is my code for testing and the corresponding captured request. [CODE] > POST /test.php HTTP/1.1 > Host: [replaced] > User-Agent: python-requests/2.28.1 > A...
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-06-15T18:12:30
2024-06-15T18:12:41
2024-06-15T18:12:42
0
2024-06
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0403
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
true
false
7
101
true
6,744
https://github.com/psf/requests/issues/6744
ValueError: Timeout value connect was <object object at 0x7c6b5e484a80>, but it must be an int, float or None.
I use google-cloud-bigquery==3.12.0 which uses requests. requests and urllib3 are pined. requests==2.31.0 urllib3==1.26.18 I get this problem: ``` File "/usr/local/lib/python3.10/site-packages/google/api_core/future/polling.py", line 282, in exception self._blocking_poll(timeout=timeout) File "/usr/local/lib/python...
I use google-cloud-bigquery==3.12.0 which uses requests. requests and urllib3 are pined. requests==2.31.0 urllib3==1.26.18 I get this problem: [CODE]
ValueError: Timeout value connect was <object object at 0x7c6b5e484a80>, but it must be an int, float or None.. I use google-cloud-bigquery==3.12.0 which uses requests. requests and urllib3 are pined. requests==2.31.0 urllib3==1.26.18 I get this problem: [CODE]
[ "This seems to be an issue with what the Google libraries are passing into requests and which we then pass on to urllib3. Raise a bug with Google." ]
closed
not_planned
true
2024-06-18T20:46:36
2024-06-18T22:03:25
2025-06-20T00:05:03
0.05
2024-06
[]
bug
1
1
true
false
1.28
0
user_0353
NONE
[ "user_0028" ]
[ "CONTRIBUTOR" ]
[ false ]
true
false
18
18
true
6,745
https://github.com/psf/requests/issues/6745
Requests v2.32.0 caused the error `Segmentation fault` when including the `cert` parameter
After updating the requests to v2.32.0, my service started failure and raised the error `Segmentation fault`. After some debugging and including `faulthandler.enable()` into my code, I saw the trace is below, and no such as kind problem with version `v2.31.0` ``` File "/opt/vpnaas/lib64/python3.11/site-packages/urllib3...
After updating the requests to v2.32.0, my service started failure and raised the error `Segmentation fault`. After some debugging and including `faulthandler.enable()` into my code, I saw the trace is below, and no such as kind problem with version `v2.31.0` [CODE] ## Expected Result There is no `Segmentation fault...
Requests v2.32.0 caused the error `Segmentation fault` when including the `cert` parameter. After updating the requests to v2.32.0, my service started failure and raised the error `Segmentation fault`. After some debugging and including `faulthandler.enable()` into my code, I saw the trace is below, and no such as kind...
[ "@[USER] there were initially some issues with the first releases of 2.32.x which is why 2.32.0 and 2.32.1 are yanked from PyPI. Can you please try this with 2.32.3 (the latest release) and if the issue is still reproducing there, check this patch [URL]", "Resolving as a duplicate #6731 since we haven't heard bac...
closed
completed
true
2024-06-19T12:53:40
2024-07-07T21:24:02
2025-07-22T00:05:34
18.35
2024-06
[]
bug
3
3
true
true
295.01
0
user_0199
NONE
[ "user_0007", "user_0007", "user_0199" ]
[ "MEMBER", "MEMBER", "NONE" ]
[ false, false, true ]
true
false
12
112
true
6,747
https://github.com/psf/requests/issues/6747
Check for codes
Please refer to our [Stack Overflow tag]([URL] for guidance.
Please refer to our [Stack Overflow tag]([URL] for guidance.
Check for codes. Please refer to our [Stack Overflow tag]([URL] for guidance.
[ "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]" ]
closed
completed
true
2024-06-21T13:59:08
2024-06-21T13:59:19
2024-06-21T13:59:20
0
2024-06
[ "Question/Not a bug", "actions/autoclose-qa" ]
question
1
1
true
false
0
0
user_0409
NONE
[ "user_0023" ]
[ "NONE" ]
[ false ]
false
false
3
9
true
6,748
https://github.com/psf/requests/issues/6748
Unclear file handling in documentation examples
In the Requests documentation section on posting multiple multipart-encoded files ([URL] the files are opened but not explicitly closed: ``` url = '[URL] multiple_files = [ ('images', ('foo.png', open('foo.png', 'rb'), 'image/png')), ('images', ('bar.png', open('bar.png', 'rb'), 'image/png'))] r = requests.post(...
In the Requests documentation section on posting multiple multipart-encoded files ([URL] the files are opened but not explicitly closed: [CODE] Does the library internally close the file handle during the post request? After trying some simple examples, I found that the file does not close automatically. Would it...
Unclear file handling in documentation examples. In the Requests documentation section on posting multiple multipart-encoded files ([URL] the files are opened but not explicitly closed: [CODE] Does the library internally close the file handle during the post request? After trying some simple examples, I found tha...
[ "Is it necessary to mention every possible best practice a person must follow when writing python in any section of the documentation? I really don't believe we must explain that as people should already be able to understand best practices around managing open files.\n\nWhat made you assume requests would close th...
closed
completed
true
2024-06-21T14:07:27
2024-06-27T07:25:44
2025-06-28T00:04:45
5.72
2024-06
[]
documentation
2
2
true
false
0.22
0
user_0198
NONE
[ "user_0028", "user_0198" ]
[ "CONTRIBUTOR", "NONE" ]
[ false, true ]
true
false
6
71
true
6,749
https://github.com/psf/requests/issues/6749
catch FileNotFoundError if there aren't any certificates
I set verify to False, but it still need cerfiticate. As we have catched ImportError, why not catch FileNotFoundError together? ## Expected Result won't Traceback ## Actual Result ``` [root@localhost requests]# ./test-requests.py Traceback (most recent call last): File "/root/test/requests/./test-requests.py", line...
I set verify to False, but it still need cerfiticate. As we have catched ImportError, why not catch FileNotFoundError together? ## Expected Result won't Traceback ## Actual Result [CODE] ## Reproduction Steps [CODE]
catch FileNotFoundError if there aren't any certificates. I set verify to False, but it still need cerfiticate. As we have catched ImportError, why not catch FileNotFoundError together? ## Expected Result won't Traceback ## Actual Result [CODE] ## Reproduction Steps [CODE]
[ "Hi @[USER], `certifi` is a [declared dependency]([URL] of Requests. This should be available in all installations. We derive the the [`DEFAULT_CA_BUNDLE_PATH`]([URL] being used in this line from `requests.certs.where()`.\n\nCan you confirm you 1.) have `certifi` installed and 2.) the value of `import requests; req...
closed
completed
true
2024-06-24T13:29:04
2026-02-13T03:00:58
2026-02-13T03:00:58
598.56
2024-06
[ "Needs Info" ]
bug
3
3
true
true
174.38
0
user_0197
NONE
[ "user_0007", "user_0197", "user_0007" ]
[ "MEMBER", "NONE", "MEMBER" ]
[ false, true, false ]
true
true
7
33
false
6,751
https://github.com/psf/requests/issues/6751
requests > 2.31.0 - Unhashable type 'list' for 'cert' parameter
### Subject The requests.get() parameter used to accept 'cert' as a tuple or list, and this may be a regression from #1165 ### Environment All ### Steps to Reproduce ``` >>> import requests >>> requests.get('[URL] cert=['client-cert.pem', 'client-key.pem'], verify='ca-cert.pem') Traceback (most recent call last):...
### Subject The requests.get() parameter used to accept 'cert' as a tuple or list, and this may be a regression from #1165 ### Environment All ### Steps to Reproduce [CODE] ### Expected Behavior From requests == 2.31.0: [CODE]
requests > 2.31.0 - Unhashable type 'list' for 'cert' parameter. ### Subject The requests.get() parameter used to accept 'cert' as a tuple or list, and this may be a regression from #1165 ### Environment All ### Steps to Reproduce [CODE] ### Expected Behavior From requests == 2.31.0: [CODE]
[ "It's always been documented as a tuple, and there's never been testing for accepting a list. I understand this seems like a regression but in reality it's an accidental improvement in what we accept to better match what we have documented since before 1.0", "It broke shit. Thanks for that. Particularly, since yo...
closed
completed
true
2024-06-25T00:03:11
2024-06-25T21:44:46
2025-09-11T00:04:52
0.9
2024-06
[]
feature_request
2
2
true
false
1.93
0
user_0408
NONE
[ "user_0028", "user_0196" ]
[ "CONTRIBUTOR", "NONE" ]
[ false, false ]
true
true
10
38
true